Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to close an open form using docmd

Status
Not open for further replies.

rayt

Instructor
Mar 27, 2001
7
US
Help
How do I close, hide or unload, an open form using docmd or other Access command. Currently the user must click the close button to close the form.

Thanks for any tips.
 
Have you tried looking in help yet. A couple examples...

To Open...
DoCmd.OpenForm "FormName"
To Close...
DoCmd.Close acForm, "FormName"

MS Help will give you all the parameters and some more detailed examples.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top