>Hi
>
>I am entering a reference no into a text box whose data property is one of the fields on a table. I get the above message when I enter a duplicate key as I have set the index up as candidate.
>
>My question is
>
>How do I trap this error so that I can use normal error handling routines?
Colin,
Trap for error 1884.
José