Msgbox!

F

Floyd Forbes

I have a Append and Delete query on a form behind a Command button.
How do I create a msgbox canceling the action if I want to? Can I have
the msgbox "Are you sure",yes,no or cancel.

Floyd
 
F

fredg

I have a Append and Delete query on a form behind a Command button.
How do I create a msgbox canceling the action if I want to? Can I have
the msgbox "Are you sure",yes,no or cancel.

Floyd

By default, Access will offer a message with the option of cancelling
the action query.

1) Check Tools + Options + Edit/Find and place a check in the Confirm
Action Queries check box.

2) Check all of your code modules to see if someone has written a
DoCmd.SetWarnings False code line without also writing a
DoCmd.SetWarnings True line afterwards.
 

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