Scheduling in Access?

S

Scott

I am currently using access 97..I have a macro program
that opens access and runs the macros on certain day.

This program is not very good.

Is there a way to schedule this in access?

I have a bunch of macros called monday downloads, tuesday
downloads, etc.

I need to run these on certain days at certain times

Thanks
Scott
 
S

Scott

I am using windows NT at work. I dont believe there is a
windows scheduler in there.

I can leave access open over night.

Just trying to figure out how to run certain macros on
certain days.

Scott
 
S

Stuart Kirk

Scott

Access doesn't like being left open for long periods of time, I've had
occasions where it has bloated out of all recognition, and even got
corrupted.

Good to use the Windows Scheduler to open the database.

Set a form to be the Startup form, then put a bit of code in the OnOpen
event to work out what day it is and take the appropriate action.

Something like:-

SELECT CASE WeekDay(Date)
CASE 1
'do something for Sunday
CASE 2
'do something for Monday
etc etc
END SELECT

Then when you've finished whatever it is, close the application down:-

DoCmd.Quit acQuitSaveAll

Hope that helps

Stuart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top