I am importing text files and using the data to create the records for a table with keys.
If the user tries to import the same files twice, they get the huge error message that includes 'can't append all the records'. I know this is due to duplicate keys.
What I would like to do is capture that message before it goes to the user and give them a more friendly message like 'You have already imported this data'.
I tried to capture the error number in the error routine, but this error doesn't go to the error routine.
How can I pre-empt this error message and give it my own error message ?
09/19/06
June H. Kantner