Hi All,
From above sql i will get list of queries in my MDB file
Assume Output of above query is
abc
xyz
lmn
I have to SUBSTITUE the above values 1 by one in below AND LOOP THEM TILL LAST??
Code:
SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Type)=5));
Assume Output of above query is
abc
xyz
lmn
I have to SUBSTITUE the above values 1 by one in below AND LOOP THEM TILL LAST??
Code:
DoCmd.OutputTo acOutputQuery, "??",acFormatXLS, "D:\??" Example DoCmd.OutputTo acOutputQuery, "abc",acFormatXLS, "D:\abc" DoCmd.OutputTo acOutputQuery, "xyz",acFormatXLS, "D:\xyz"
Comment