Hi there,
I have a form 'Item_types' that allows me to add new records to be saved in a table. The table does not allow duplicates, as intended and the form is working perfectly.
However, I am getting an error message when I try to save a duplicate using the form, which i would expect.
'The changes you requested to the table were not succesful because they would create duplicate values in the index, primary key or relationship. Change the data in the field or fields that contain duplicate data, remove the index or redefine the index to permit duplicate entries and try again.' Followed by a pop up box asking me to Stop All Macros.
My question is, what can i do to make this error pop up sequence more user friendly? In the macro builder/code builder, can I write something that will propduce only one message box, saying something like "You have entered a duplicate Item Type, please change."?
Thanks