What is the doCMD to close the entire database?

  • Thread starter Rashar Sharro via AccessMonster.com
  • Start date
R

Rashar Sharro via AccessMonster.com

Hi.

I have a form that has a button called Exit Form. When I click on that form,
it returns to my main form. There, I have a button called, Exit Database. I
am able to close the form with the doCMD, but the database still runs and I
can't close it unless I use task manager.

What would be the doCMD (if any) to close the entire database back to the end
user's desktop?

Thank you,

Rashar
 
A

Allen Browne

Try:
DoCmd.Quit

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

message
news:[email protected]...
 

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