Prevent Display of Delete Message

  • Thread starter Thread starter John C.
  • Start date Start date
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.
 
Have you considered turing off system messages using
DoCmd.SetWarnings False

Hope This Helps
Gerald Stanley MCSD
 
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
 
Back
Top