How do I go about getting rid of the standard error message which comes up when something violates an index. "Index violates the primary key indexes, etc etc" or something along those lines.<br>
<br>
I have indexes set up on several tables to disallow duplicates, but though I've changed the onerror value of the forms to which the tables are linked, I now simply have TWO error messages coming up: My own and MS Access.<br>
<br>
I've tried setting warnings off but to no avail. I though the OnError would interrupt any Access messages.<br>
<br>
Please note, these are occurring on subforms not main ones.<br>
<br>
Thank you<br>
Liam<br>
<br>
I have indexes set up on several tables to disallow duplicates, but though I've changed the onerror value of the forms to which the tables are linked, I now simply have TWO error messages coming up: My own and MS Access.<br>
<br>
I've tried setting warnings off but to no avail. I though the OnError would interrupt any Access messages.<br>
<br>
Please note, these are occurring on subforms not main ones.<br>
<br>
Thank you<br>
Liam<br>