C
carlee
Hi there,
i have a delete button on my form with the following code:
docmd.runcommand.acCmdDeleteRecord
When i run the code click delete, i get a message asking
if i am sure i want to delete. If i click yes all is
good. If i click no, i get an error stating " the run
command action was cancelled" How can I prevent this from
occuring.
I want to be able to cancel the delete if i don't want to
delete the record.
Regards,
Carlee
i have a delete button on my form with the following code:
docmd.runcommand.acCmdDeleteRecord
When i run the code click delete, i get a message asking
if i am sure i want to delete. If i click yes all is
good. If i click no, i get an error stating " the run
command action was cancelled" How can I prevent this from
occuring.
I want to be able to cancel the delete if i don't want to
delete the record.
Regards,
Carlee