Setting errorlevel when closing Access

  • Thread starter Thread starter tommyg
  • Start date Start date
T

tommyg

Guest
I use a .bat file to start an Access 97 database that performs some functions without any user input. When the task is complete Access closes. (I use an "autoexec" macro with its last command quitting Access, but I could do it in VBA.)

How do I set the DOS errorlevel from within Access so that I can test the value in my .bat file right after Access is closed?

Thanks.
 

Users who are viewing this thread

Back
Top Bottom