I would like to check for duplicate entries within one record (one row).
Here is a scaled down example of my table:
NAME GuessA GuessB GuessC
=======================================
Jill 1 2 3
Jack 2 8 6
Basically, each person must enter a number but cannot have the same number twice.
Also, each person can enter a number that has been previously entered by another user (eg. Both Jack and Jill have used the number 2)
What I need to do is create a warning to the user if they have used a number that they have already entered. (check for duplicates)
NOTE: The user can also edit and make changes to the numbers so I need to check for duplicates when creating an new entry as well as when editing an entry.
Can anybody help?
Here is a scaled down example of my table:
NAME GuessA GuessB GuessC
=======================================
Jill 1 2 3
Jack 2 8 6
Basically, each person must enter a number but cannot have the same number twice.
Also, each person can enter a number that has been previously entered by another user (eg. Both Jack and Jill have used the number 2)
What I need to do is create a warning to the user if they have used a number that they have already entered. (check for duplicates)
NOTE: The user can also edit and make changes to the numbers so I need to check for duplicates when creating an new entry as well as when editing an entry.
Can anybody help?