Exit the form

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?
 
A

Albert D. Kallal

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
 
Top