N
Newbie
I have a form with some validation before the record is updated to let the
user know that the record can't be saved.
How can I get rid of the data that has been entered when the validation
fails?
If I try and delete the record I can't because it hasn't yet been entered
into the table but I can't enter it into the table because the data isn't
correct.
I have tried docmd.runcommand acCmdUndo but that doesn't work either
The primary key is JobNo
In the before update of this field it checks to see if it already exists in
the table
In the before update of the form it checks that all the fields have valid
entry
What do I need to do . . . . .
user know that the record can't be saved.
How can I get rid of the data that has been entered when the validation
fails?
If I try and delete the record I can't because it hasn't yet been entered
into the table but I can't enter it into the table because the data isn't
correct.
I have tried docmd.runcommand acCmdUndo but that doesn't work either
The primary key is JobNo
In the before update of this field it checks to see if it already exists in
the table
In the before update of the form it checks that all the fields have valid
entry
What do I need to do . . . . .