twychopen22
Registered User.
- Local time
- Yesterday, 19:44
- Joined
- Jul 31, 2006
- Messages
- 101
Does anybody know how to schedule in access like sql. Like a "job" in sql server?
FoFa said:Access does NOT have a job scheduler. We usually use the windows SERVER schedule Tasks to do it. You just need to make sure the Access program does not have any interface, and does not hang due to any errors.
FoFa said:Windows servers (and XP also I think) has a task scheduler with a GUI interface. Pretty stright forward really.
From an Access point of view, you need to setup your program to run automatically. I usually use a AUTOEXEC macro that kicks off as soon as that DB is opened. The task scheduler you have to specify the MSACCESS.EXE and feed the path\AccessDB.MDB file name to it is pretty much all.
FoFa said:You need to sepeprate the scheduled part from the applicatiion part.
First decide what the application needs to do.
Next how is this to occure?
Just saying writing a record next month means nothing.
Do you want to have it write a record with an effective date of next month, or actually write a record next month? What is going to tell the application, it is next month, and it is time to write the record? You have not supplied enough information so far to answer that.
FoFa said:Sounds like the data is already there. So why are you writing it to another table?
FoFa said:How about an append query you say run the first of every month, that adds nw records for anything outstanding from last month. You just have to figure out then what is outstanding.
The_Doc_Man said:By George I think he's got it!
what did u mean