The table holds a list of names, each of which has a RollNbr. The RollNbr cannot have a duplicate.
The first entry box in the form is this RollNbr. If the user enters a number that already exists, I would like a message box to advise the user of this, before she continues.
What is the code I put in the Before Update event?
I realize that, with a duplicate in the RollNbr, the record will not save because a system message will occur saying "You cannot go to to the specified record" but this is unclear as to what the problem is.
I am using Access 2000.
Thanks.
Tom
The first entry box in the form is this RollNbr. If the user enters a number that already exists, I would like a message box to advise the user of this, before she continues.
What is the code I put in the Before Update event?
I realize that, with a duplicate in the RollNbr, the record will not save because a system message will occur saying "You cannot go to to the specified record" but this is unclear as to what the problem is.
I am using Access 2000.
Thanks.
Tom