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!

Can't Close Form

Status
Not open for further replies.

Crazyec

Programmer
Joined
Aug 28, 2001
Messages
80
Location
HK
Hi all Pros,
I have two Access forms. I suppose the Form A will open Form B and close itself.

following is the code I cut:
DoCmd.Close acForm, "frmChangePwd", acSaveNo

DoCmd.OpenForm "frmMain"

I found the
DoCmd.Close acForm, "frmChangePwd", acSaveNo
not work.
"DoCmd.Close" & "DoCmd.close acForm, me.name
and both of them can't close the form frmChangePwd.

Any suggestion on me? Thank you.


 
More information, I using Access 97.
 
Have no idea, but finally I fine
DoCmd.Close
can work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top