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.