I have the database open on startup and I would like it to logoff the computer when Exiting Access. Can someone Please help me with this. I can make it work if I start Access with a batch file and have the batch file logoff the system when I exit access but I was hoping for a Macro or VB Code that would do this.
Here is the Batch code.
Rem ***** Begin Code *****
c:\database.mdb
logoff
Rem ***** End Code ******
Stephen Ludwig
Here is the Batch code.
Rem ***** Begin Code *****
c:\database.mdb
logoff
Rem ***** End Code ******
Stephen Ludwig