Exiting back to the desktop

J

jordi marti

I am using Access2000. I have several forms. The first form
opens when I click on the corresponding Icon on my desktop.
I would like to exit the application by clicking an Exit
control button on one of the forms.

I 've tried DoCmd.exit, this closes the form, but it
takes me to the Access Database window instead of taking
me back to the desktop.

i would apprecaite yor help on this.

Thanks !
 
R

Rick Brandt

jordi marti said:
I am using Access2000. I have several forms. The first form
opens when I click on the corresponding Icon on my desktop.
I would like to exit the application by clicking an Exit
control button on one of the forms.

I 've tried DoCmd.exit, this closes the form, but it
takes me to the Access Database window instead of taking
me back to the desktop.

DoCmd.Quit
 

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