Error 2501 Openform Action Canceled
Contents |
Search Community Links Social Groups Pictures & Albums Members List Calendar Search Forums Show Threads Show Posts Tag Search Advanced Search Find All Thanked Posts Go to Page... Thread Tools Rating: Display Modes 06-05-2007, 05:53 the openform action was canceled access 2013 AM #1 manix Newly Registered User Join Date: Nov 2006 Location: the openform action was cancelled microsoft access 2010 Hampshire, UK Posts: 100 Thanks: 5 Thanked 0 Times in 0 Posts Runtime error 2501 - openform action was canceled Hi all, I ms access error 2501 am really stuck as to why this is happening. I have the following code, whereby a button opens a form on a certain record depending upon the part number field selected on the current form. The runtime error 2501 the outputto action was cancelled code used for this button is as follows: Code: Private Sub showrecord_Click() Dim stDocName As String Dim stLinkCriteria As String stDocName = "frm_partdata" stLinkCriteria = "[Part Number]=" & Me![Part Number] DoCmd.OpenForm stDocName, , , stLinkCriteria End Sub I keep getting the 2501 error code and it won't open frm_partdata I have checked the forms on open properties and these are clear. Putting a breakpoint in the code I can see it is picking up
The Openform Action Was Canceled Access 2007
the right form and the right part number! What am I doing wrong, it works in my other DB's!!!! Edit: the part number fields are all TEXT fields. manix View Public Profile Find More Posts by manix 06-05-2007, 06:13 AM #2 boblarson Former Moderator Join Date: Jan 2001 Location: Oregon, USA Posts: 32,482 Thanks: 94 Thanked 1,780 Times in 1,565 Posts Are there any records for that Part Number in that recordset? If there aren't, then it won't open up as there's nothing to open to and therefore it would generate a cancellation error. What happens when you open the form directly without code and search for that part number? __________________ Free tools, code and samples here: To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. boblarson View Public Profile Visit boblarson's homepage! Find More Posts by boblarson 06-05-2007, 06:18 AM #3 manix Newly Registered User Join Date: Nov 2006 Location: Hampshire, UK Posts: 100 Thanks: 5 Thanked 0 Times in 0 Posts Quote: Originally Posted by boblarson Are there any records for that Part Number in that recordset? If there aren't, then it won't open up as there's nothing to open to and
be down. Please try the request again. Your cache administrator is webmaster. Generated Tue, 11 Oct 2016 03:19:28 GMT by s_ac15 (squid/3.5.20)
Software Services Hosting/SaaS Services Implementation Services Data Services Onsite Asset Cataloging Training CAFM Services Customers Hospitality & Recreation Healthcare Property Management Education Government Industrial Other Industries How to Buy Sales http://www.micromain.com/ms12-060-issues-and-resolutions-rollupms12-060-error-2501/ Pricing System Requirement Documents Testimonials News & Events Blog Users Conference Users Conference Agenda Users Conference Venue Calendar of Events Webinars Referral Program Newsletters About Contact Error 2501: The OpenForm Action Was Canceled Symptoms This addresses an issue that may arise after installing specific Microsoft updates released on August 14th, 2012. Error 2501 action was occurs when opening Maintenance Management You get the following error message when starting the program: Error: 2501 Description: The OpenForm action was canceled Cause This symptom may occur after applying one or more of several Microsoft security updates that affect specific files Maintenance Management requires to run. These updates are described in Microsoft the openform action security bulletin MS12-060. The known updates that can cause this problem are: Security Update for Office 2003 (KB2687323): MSCOMCTL Security Update for Microsoft Office 2007 suites (KB2687441) Security Update for Microsoft Office 2010 (KB2597986) Resolution To fix this problem, uninstall and re-install MicroMain Maintenance Management. See related issues Free Consultation Find out how our software solutions can benefit your business. Schedule Free Consultation Demo Videos See just how powerful and easy to use our software really is. Watch Demo Videos View Pricing Info Read Case Studies Attend a Webinar See Client Testimonials Micromain Corporation 5100 Bee Caves Rd Austin, Texas 78746 888-888-1600 info@micromain.com Quick Menu Products About Us Our Services Contact Us Demos Customers News & Events Webinars Blog How to Buy Sales Pricing Careers Support Connect With Us Online Come get to know us and we’d love to get to know you too! © Copyright 2016 Privacy Policy Sitemap MicromainProducts▼CMMS SoftwareCMMS Software for HealthcareCAFM SoftwareServices▼Hosting/SaaS Ser