I have three feilds text5,text6, and text7 that i want to check for duplicates. When the user enters these feilds if their are duplicates and the user tries to move to the next record or closes out of access how can i display a ok message box waring the user of a possible duplicate????

could i have a example of how to start this