UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Run Time Error 2501 When Deleting Record, Office 2007    
 
   
MTC99
post Jan 12 2012, 05:59 PM
Post #1

UtterAccess Member
Posts: 43



In my form, I have a button to delete a record. I got run time error whenever I got into this form and hit this button first. If I enter anything in this form then hit this button, I won't get this error. I searched around and find a suggestion to fix this error by updating my Window system files. . I hesitate to download this fix because I am using Mac and running Window on it. I don't know what will happen and what changed in my system files. I prefer to add codes to work around this issue. I believe the record is added in table when this form is shown ( using acFormAdd). Maybe it is not ready to delete since I didn't enter anything manually. . Any suggestions? Thank you very much.
MTC
Go to the top of the page
 
+
theDBguy
post Jan 12 2012, 06:03 PM
Post #2

Access Wiki and Forums Moderator
Posts: 47,962
From: SoCal, USA



Hi,

Can you post the code behind the button? Thanks.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 22nd May 2013 - 04:36 AM