Append Query Chain?

dgriffis1231

Registered User.
Local time
Today, 05:52
Joined
Oct 9, 2013
Messages
25
So I am pulling data from a SQL data base into access and appending it to certain tables. To do this I have 15ish append queries. Is there a way to have them run in a certain order with one command?
 
In VBA code or a macro, just execute them in sequence, like:

CurrentDb.Execute "Query1"
CurrentDb.Execute "Query2"
CurrentDb.Execute "Query3"
 
Is it possible to tell the system to compact
And repair at certain points in the process?
 
I'm not sure how practical that would be. I don't think it would work on the db the code is in. It might work on a separate back end, but you'd have to know nobody else was connected to it. I assume you can't just link to the SQL Server tables?
 

Users who are viewing this thread

Back
Top Bottom