G
Guest
I created my database in Access 2000 and my company recently upgraded to
2002. Certain people are still using 2000 in my organization however so I
don't want to convert my db yet.
Problem: I have a button on a form that the button wizard set up to delete
a record. Previously it worked fine.
While it still deletes the active record on my form, it now also gives an
error message that says "No current record." This appears after the record
is deleted.
The VBA code that the wizard created is:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
I know those numbers refer to Access 95 commands but I don't know what they
are. I still haven't figured out VBA very well...
Curiously, if I select Delete Record from the menu, the error message
doesn't appear so the code is not the same.
How can I stop that error message from appearing?
Thanks
2002. Certain people are still using 2000 in my organization however so I
don't want to convert my db yet.
Problem: I have a button on a form that the button wizard set up to delete
a record. Previously it worked fine.
While it still deletes the active record on my form, it now also gives an
error message that says "No current record." This appears after the record
is deleted.
The VBA code that the wizard created is:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
I know those numbers refer to Access 95 commands but I don't know what they
are. I still haven't figured out VBA very well...
Curiously, if I select Delete Record from the menu, the error message
doesn't appear so the code is not the same.
How can I stop that error message from appearing?
Thanks