Prevent Display of Delete Message

J

John C.

I would like to prevent access from displaying the "You
are about to delete x record(s)."

I have trapping code in the Form_Delete subroutine that
asks a customized question, that verifies if the user
really wants to delete.
 
G

Gerald Stanley

Have you considered turing off system messages using
DoCmd.SetWarnings False

Hope This Helps
Gerald Stanley MCSD
 
G

Gerald Stanley

That depends upon how much coding you have included that
makes the system messages unneccesary. If it is just this
one error message that you want to suppress, then you could
turn the messages off just before the delete occurs and
turn them back on straight afterwards.

Hope This Helps
Gerald Stanley MCSD
 

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