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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open form , close current

Status
Not open for further replies.

andyukcy

Technical User
Jul 9, 2003
64
Hi ,

How can i click on a button from a form to open one of my other forms and close the current form?
andy
 

DoCmd.Openform "TheNewFormName"
Docmd.Close acform, "YourCurrentForm"


PaulF

 
Hi Andy

Try this:

Docmd.openform "YrFrm"
docmd.close me.name

Should work

Herman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top