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

OpenForm action cancelled...

Status
Not open for further replies.

WLN

Technical User
Jul 19, 2001
2
US
I have a button on a form which simply opens a blank form to edit a record in a table (DoCmd.OpenForm "Frm_Name",,,,acFormEdit). When I click on the button, I receive an error message telling me that "the OpenForm action was cancelled... because I clicked Cancel in a dialog box." Not only didn't I click "Cancel", no dialog box ever showed up. Any suggestions? I've done a TekTip keyword search (Err 2501) and looked through 30 some pages of threads to no avail.
 
Stop the presses! After I posted this thread I went back in and tried that "one more thing". It turns out the problem was with a bad "Where" clause in the OpenForm statement. My Bad. Apologies to all.

WLN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top