What I want to do is have MS Access application
automatically print a report at 8 AM every day or when
the computer is turned on.
Do I use some kind of batch file?
Any ideas would be helpful
Douglas J. Steele - 19 Mar 2005 17:54 GMT
Create a shortcut that includes the path to msaccess.exe and the database
file, and put it in the computer's Startup group.
I'm assuming you can figure out how to print the report at 8 AM, and when
the database launches. If not, post back.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> What I want to do is have MS Access application
> automatically print a report at 8 AM every day or when
> the computer is turned on.
> Do I use some kind of batch file?
>
> Any ideas would be helpful
Damiaan - 19 Mar 2005 19:03 GMT
If you use a batchfile to start your database you can specify which file you
want to open: "start c:\temp\mydb.mdb". But that is a subject that doesn't
belong in this topic.
Staying with access this might be a solution:
Leave your access open while the computer running.
Put a shortcut to the database in your startup folder.
Make a autoexec macro, this macro runs automaticly when the database is
fired up. Open a form in the macro.
Then use the timer event of the form to check if it's 8 am and print the form.
Kind regards
> What I want to do is have MS Access application
> automatically print a report at 8 AM every day or when
> the computer is turned on.
> Do I use some kind of batch file?
>
> Any ideas would be helpful
David C. Holley - 20 Mar 2005 01:24 GMT
I seem to recall that there's a command line switch which can be used to
call a specific maco. MVP's Am I right or still delusional?
David H
> If you use a batchfile to start your database you can specify which file you
> want to open: "start c:\temp\mydb.mdb". But that is a subject that doesn't
[quoted text clipped - 15 lines]
>>
>>Any ideas would be helpful
Ken Snell [MVP] - 20 Mar 2005 01:52 GMT
Yes. /x

Signature
Ken Snell
<MS ACCESS MVP>
>I seem to recall that there's a command line switch which can be used to
>call a specific maco. MVP's Am I right or still delusional?
[quoted text clipped - 20 lines]
>>>
>>>Any ideas would be helpful
Damiaan - 20 Mar 2005 09:39 GMT
How to use command-line switches in Microsoft Access:
Access 97: http://support.microsoft.com/kb/105128
Access 2000: http://support.microsoft.com/kb/209207/EN-US/