Hi
I have an access form linked to the main table of my database. The table fields are configured to not accept duplicates. When user enters information into the form that already exists in the database, he/she gets a long error message followed by series of less than helpful dialogs which end in form closure. Let's just say that scenario is not what you would call "graceful."
I would like to program some code that would give the user several options: 1. To be taken to record that already exists and lose all newly-entered info, 2. To be taken back to the form to allow editing of typed info (i.e. to correct a mistake), 3. Allow storage of duplicate record (i.e. two different people with same names).
My knowledge of VB is slim to none. Any help would be greatly appreciated.
Thanks,
Igor
I have an access form linked to the main table of my database. The table fields are configured to not accept duplicates. When user enters information into the form that already exists in the database, he/she gets a long error message followed by series of less than helpful dialogs which end in form closure. Let's just say that scenario is not what you would call "graceful."
I would like to program some code that would give the user several options: 1. To be taken to record that already exists and lose all newly-entered info, 2. To be taken back to the form to allow editing of typed info (i.e. to correct a mistake), 3. Allow storage of duplicate record (i.e. two different people with same names).
My knowledge of VB is slim to none. Any help would be greatly appreciated.
Thanks,
Igor