FurryGorilla
Technical User
Hi
I have some code in the 'on current' event of a form which displays a message box depending on the status of a field on the form.
When I delete a record, I ask the user if they would like to delete this record. if they confirm this, two commands are called:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
I then have an 'after del confirm' event which notifies the user that the record has been deleted.
Unfortunately the 'on current' event is called before the 'after del confirm' event which seems a little strange. Is there a way of preventing this from happening?
Also if someone could let me know what each of the commands above does I would be grateful (I've looked in the help files but can't make any sense of it)
Many thanks
Chris
I have some code in the 'on current' event of a form which displays a message box depending on the status of a field on the form.
When I delete a record, I ask the user if they would like to delete this record. if they confirm this, two commands are called:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
I then have an 'after del confirm' event which notifies the user that the record has been deleted.
Unfortunately the 'on current' event is called before the 'after del confirm' event which seems a little strange. Is there a way of preventing this from happening?
Also if someone could let me know what each of the commands above does I would be grateful (I've looked in the help files but can't make any sense of it)
Many thanks
Chris