Tezcatlipoca
Registered User.
- Local time
- Today, 11:30
- Joined
- Mar 13, 2003
- Messages
- 246
I want to impliment some kind of facility into my database that will flash up a warning if a user enters data into a certain field that is equal to or like data that exists in the same field in other records.
A search of these forums gives me a few hints about duplicate warning record messages where the duplicate data is exactly the same as previously entered data, but I want it to pull up similar records, thus taking into account spelling errors.
For example: Let's assume that the NAME field in my records already includes the name SMITH, on record 53. The user now adds a new record, and, in filling out the NAME field enters the name SMYTHE. I want a box to popup (either by code or macro) to inform the user that a record with a similar name exists, gives the potential duplicate record number (in this case 53), and prompts the user whether they are sure they want to create the new record. Even better, would be for a subform to open containing the duplicate record, so the user has a visual reference before deciding whether or not to proceed.
A search of these forums gives me a few hints about duplicate warning record messages where the duplicate data is exactly the same as previously entered data, but I want it to pull up similar records, thus taking into account spelling errors.
For example: Let's assume that the NAME field in my records already includes the name SMITH, on record 53. The user now adds a new record, and, in filling out the NAME field enters the name SMYTHE. I want a box to popup (either by code or macro) to inform the user that a record with a similar name exists, gives the potential duplicate record number (in this case 53), and prompts the user whether they are sure they want to create the new record. Even better, would be for a subform to open containing the duplicate record, so the user has a visual reference before deciding whether or not to proceed.