Immediately shut down of DB via VBA

M

Milan

Hello,

is it possible somehow to shut down the database application
immediately (via VBA), which means to jump all the code of close
events of all the opened forms?

Thanks in advance,

Milan.
 
M

Marshall Barton

Milan said:
is it possible somehow to shut down the database application
immediately (via VBA), which means to jump all the code of close
events of all the opened forms?


DoCmd.Quit is supposed do that, but check if your program
is designed to deal with having your class object cleared
and your global variables abruptly erased.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top