Exit the form

  • Thread starter Thread starter Alan T
  • Start date Start date
A

Alan T

I have a main form calls a second form.
In the second form there is a button I want to exit the second form when the
button is pressed.
What code I should use in the on click event of the button?
 
Just use the wizard to make the button.....


The code you can use (if you don't want to use the wizard to build the
button) is:

docmd.close
 

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

Back
Top