Stopping Access Error messages

  • Thread starter Thread starter Keith
  • Start date Start date
K

Keith

I have a form that required four fields combined to be unique. If a
user inputs an entry that will create a duplicate entry then Access
brings up an error message saying that the record would produce a
duplicate entry.

I put in my own error message in the on error section of the form. This
works fine but when you ok on my message box Access's message come up
after it.

How can I stop Access's message from appearing? I tried setting
warnings to false but it didn't make any difference.
 
response = acDataErrContinue

in the Form's On Error event should get rid of the Access message.

HTH.
 

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

Back
Top