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

cancel a close cmd for a form triggered from another form 1

Status
Not open for further replies.

jordanking

Programmer
Sep 8, 2005
351
hello,

I have a project where a "switchboard" form is accidentally getting closed. I can not find a how this is happening. Until i have this figured out I put an open form comand in the close event of the swtitchboard (which opens another form quickly and reopens the switchboard and closes itself).

So, is it possible to cancel a close comand for an open form that is triggered from another form?

thanks

.....
I'd rather be surfing
 



Hi,

You ought to post these MS Access questions in one of the MS Access Forums like Forum702 or Forum705

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Most likely you have a
Docmd.close
without any parameters.

Do a find for this code. Then specify explicitly what is to close.

docmd.close acform, "frmName
 
thanks MajP,

that is what it was

.....
I'd rather be surfing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top