I have successfully run the following error trapping code for duplicate entries,but am having one problem that I can't figure out. First, all of the code I have found in forums has been placed in the On_Error event of the form, but the only way I could get it to work was to put it in the...