I am entering information on a form and the primary key is social security number. If a duplicate social security number is entered, I want a message box to appear stating the fact. Social security number is indexed so Access does give a message of duplicate data, but it causes any macro running to crash and you have to go through a series of boxes to close. To someone not used to Access, this can be frightening and I want this as user friendly as possible so therefore, I need a simple message box instead of the system message. Any suggestions?