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

Closing old form after opening new form

Status
Not open for further replies.

ibsuntan

MIS
Dec 11, 2002
10
US
I have a Splash form with three option buttons to other forms. I have comand button on all the other forms for the main Splash form. Looking to close a any form after clicking on the main Splash form button.
Tried to use the timer function, didn't care to use that.
Thanks for any help
Gregg
 
in the onclick of the button just use
docmd.close acform, "FormName", acsaveno

that should do the trick.
 
since you're closing the form from a button on the form you could just use the following

docmd.close acform, me.name, acsaveno

done like dinner.
 
Dang it, I was close, Thanks guys .. knew it was simple
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top