Delete Confirm Message Not Appearing

W

Williams

The confirmation message for deleting records does not work consistently.
Sometimes the user is prompted to confirm the deletion. Other times the
record is deleted right away without confirmation. The confirmation check
boxes are selected for "Confirm Record Changes", "Document Deletions" and
"Action Queries" in the Tools, Options dialog box. There is no code in the
before Delete or After Delete actions on the form. Any suggestions for
forcing the confirmation box to consistently appear?
 
S

Steve Huff

Search all the code in the database to see if you find the following line:

DoCmd.SetWarnings False

If they didn't set it back to true then when that fires it would turn off
all Warnings. It might be some other event that is doing it then when they
go to another location it's still turned off.

Steve Huff
 
W

Williams

Thanks Steve. I will give that a shot.

Steve Huff said:
Search all the code in the database to see if you find the following line:

DoCmd.SetWarnings False

If they didn't set it back to true then when that fires it would turn off
all Warnings. It might be some other event that is doing it then when they
go to another location it's still turned off.

Steve Huff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top