Full Version: Run Time Error 2501 When Deleting Record
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
MTC99
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
theDBguy
Hi,

Can you post the code behind the button? Thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.