validation rule in form

D

Desert Bear

I set the validation rule to "is not null" for a combo box on a form
I set the default value to null
When I left the field blank, Access didn't complain
why is this?
 
J

Jim Allensworth

I set the validation rule to "is not null" for a combo box on a form.
I set the default value to null.
When I left the field blank, Access didn't complain.
why is this?
The validation only triggers when there is a change. If you are just
leaving it "blank" your'e not changing it.

Use the Form's BeforeUpdate event to check for this.

- Jim
 

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