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

Launch DB At Night (or unattended)

Access Howto:

Launch DB At Night (or unattended)

by  GingerR  Posted    (Edited  )
This is available in Windows 2000
go to Scheduler (START-ACCESSORIES-SYSTEM TOOLS-SCHEDULER)
Add New Task. go thru the wizard-it comes up with a list of .exe files it finds on your machine.
Choose BROWSE and browse to your db.
In the wizard, choose OPEN ADVANCED PROPERTIES WHEN FINISHED (or you can always right-click on the task later and choose PROPERTIES).

[color red]1) if you only have one version of Access on your machine:[/color]
[color blue]in the RUN area[/color]: You will want to put the full path to the db instead of just the drive letter, of course in case you ever map the server to a diff drive.
"\\app-evt-23\Data\Backend.mdb"
[color blue]in the START IN area: [/color]
"\\app-evt-23\Data\"

[color red]2) If you have more than one copy of Access on your machine [/color] you have to first put the path of the Access version you want the db to open in. you'll have to mess around with it, but put in this format, substituting the path to your Access.exe and then the path to the mdb file:
[color blue]in the RUN area:[/color]
"Path to Access.exe" "Path to .mdb file" (space in between)

"C:\Program Files\Office97\Office\msaccess.exe"
"\\app-evt-23\Data\Backend.mdb"

[color blue]in the START IN area:[/color]
"C:\Program Files\Office97\Office\"

This should be all you need. It will fill in your domain/userid and prompt you for your password. Then just do your schedule. If you only want it done M-F, choose WEEKLY then M,T,W,Th,F. you can also goof around with multiple schedules.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top