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

run Procedure at a certain time daily, from Access 97

Status
Not open for further replies.

burgesse

IS-IT--Management
May 29, 2002
7
US
How can I make a procedure run at a certain time everyday. I was thinking about using the "

If Timevalue= 12:00:00 then
RunMacro "X"
End If


But How would I execute this procedure. Is there a better way todo what I am trying to do?
 
Hi

User a timer control on a form. Set the timer interval to be whatever you want.

The form must be open all the time.

IN the timer event you would put somthing similar to your code above. If you start your automated procedure, set the timer interval to 0 and when you are finished set it back to the original setting. This will stop multiple instances of you procedure running.

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top