Validation override

M

Mr. E.

Is it possible to set up a validation that asks you to double check your
entry without restricting you from entering that data (number field)?
I am currently using excel which allows you to override the validation if
you set it to a warning. I can't seem to find the same feature in access. I
use this when a student correctly answers bonus questions to get a mark above
100%.

Mr. E.
 
R

Rick Brandt

Mr. E. said:
Is it possible to set up a validation that asks you to double check
your entry without restricting you from entering that data (number
field)?
I am currently using excel which allows you to override the
validation if you set it to a warning. I can't seem to find the same
feature in access. I use this when a student correctly answers bonus
questions to get a mark above 100%.

Mr. E.

Instead of a validation rule perform your test in the BeforeUpdate event of the
form.

If (some test) = False
If MsgBox("Are you sure",vbYesNo) = vbNo Then
Cancel = True
End If
End If
 
M

Mr. E.

:

Instead of a validation rule perform your test in the BeforeUpdate event of the
form.

If (some test) = False
If MsgBox("Are you sure",vbYesNo) = vbNo Then
Cancel = True
End If
End If

Thank you Mr. Brandt. You have been most helpful.

Mr. E.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top