G
Guest
I have a form where I use a Delete Button to allow the user to delete a
record if it passes a serious of data checks etc.
My form is set to cycle current record.
I am using the Access commands for deletion:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
What Access does is as soon as the user selects a record to delete, it pulls
that record off of my user form and it loads another record, so when the user
is prompted to see if they really want to delete, they are looking at the
wrong record. The record they don't see anymore is actually the one gets
deleted, but to the user it looks as though they are deleting a record that
they didn't select.
How can I stop this. I want the original record to stay on the form until
the user actually answers "Yes - Delete it".
Thanks for any help you can give.
record if it passes a serious of data checks etc.
My form is set to cycle current record.
I am using the Access commands for deletion:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
What Access does is as soon as the user selects a record to delete, it pulls
that record off of my user form and it loads another record, so when the user
is prompted to see if they really want to delete, they are looking at the
wrong record. The record they don't see anymore is actually the one gets
deleted, but to the user it looks as though they are deleting a record that
they didn't select.
How can I stop this. I want the original record to stay on the form until
the user actually answers "Yes - Delete it".
Thanks for any help you can give.