Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Stmt Joined to a saved query -

Status
Not open for further replies.

kschuster

Programmer
Apr 12, 2004
6
US
I'm using VBA to generate a dynamic sql statement. In Access Query designers you can relate a table to a query result. that would look like

SELECT tblStateTax.StateAbbr, SOurce_Recon.Source_Count, SOurce_Recon.Source_Cost
FROM tblStateTax LEFT JOIN SOurce_Recon ON tblStateTax.StateAbbr = SOurce_Recon.State;

WHERE - Source_Recon is the Query and tblStateTax is the TABLE

How would I write the above query REPLACING Source_Recon (a saved query) with the actual sql from Source_Recon?
Thanks
 
wrong forum, try posting in the access queries forum...

--------------------
Procrastinate Now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top