Can you qury on a query in VBA and filter in the VBA for a cleaned up output?

mackyrm

Registered User.
Local time
Today, 11:06
Joined
Oct 5, 2006
Messages
57
Can you query on a query in VBA and filter in the VBA for a cleaned up output?

If anyone can advise with a VBA-SQL example, appreciated.

Thanks.
 
Yes you can.

sSql = "SELECT * FROM qryYourQUery "
sSql = sSql & " WHERE add your criteria in here"
 
Thanks Minty, I will give this try.
 

Users who are viewing this thread

Back
Top Bottom