Hi,can I use VBA to run a union query in Access97 like this:
docmd.runsql("Select tbl.* from tbl union select tbl2.* from tbl2)
I tried and didn't work. Please help. I need to extract data from more than one table using union query, not table join. Thanks a lot.
docmd.runsql("Select tbl.* from tbl union select tbl2.* from tbl2)
I tried and didn't work. Please help. I need to extract data from more than one table using union query, not table join. Thanks a lot.