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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run Macro on Start-up

Status
Not open for further replies.

mauricionava

Programmer
Jul 8, 2005
209
US
I have 2 databases.
In one I have all data, in the other one I want to run a query that will copy (or create) a table with the data from the other database.

I want the query to run everytime I open my db. How can I create a macro taht will run on start up and run the query?
 
Awesome, thanks a lot.

I also set Warnings off in the macro so it won't show any message when running the query.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top