Question: Is possible to create a macro in an Access database that will execute itself at a specified time?
For example, I have a query that adds new records from one table into another. Unless I open the database and execute the query, it doesn't get run. So, I created a macro and Saved As Desktop Shortcut that SetWarnings to No, launch the query, and Quit. If I remove Quit, it runs fine. Otherwise, the following:
Problem 1: Get error message when exiting "Cannot find the file 'C:\Windows\Desktop\Shortcut to MakeNewCust in database.MAM' or one of its components. Make sure that the path and filename are correct and that all the required libraries are available."
Problem 2: I don't want to execute this macro manually. I would like to have it execute itself daily, say at 6AM when no one is using it.
Any takers?
Thank you in advance.
ER
For example, I have a query that adds new records from one table into another. Unless I open the database and execute the query, it doesn't get run. So, I created a macro and Saved As Desktop Shortcut that SetWarnings to No, launch the query, and Quit. If I remove Quit, it runs fine. Otherwise, the following:
Problem 1: Get error message when exiting "Cannot find the file 'C:\Windows\Desktop\Shortcut to MakeNewCust in database.MAM' or one of its components. Make sure that the path and filename are correct and that all the required libraries are available."
Problem 2: I don't want to execute this macro manually. I would like to have it execute itself daily, say at 6AM when no one is using it.
Any takers?
Thank you in advance.
ER