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

EASY Question how to close a form....

Status
Not open for further replies.

OverDrive

IS-IT--Management
Dec 11, 2000
268
US
How the heck do you close a form by formname?

docmd.Close acForm, "formname"

Is not working?

Any thoughts?
Thanks, I have no idea why I cannot figure this out?

Chance~
 
Works in my version, what happens, what errormsg...

- sure you've spelt it correctly, do you have any routines going that might prevent the form from closing (cancel in the unload event), is it a subfom... - more information please

Roy-Vidar
 
Well, I was not really sure where to put it...

Now that you have verified it then I know it works... I will have to look elsewhere to see why it is not closing>?

Thanks!
Chance

more to come I am sure...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top