Validating form

D

Daniel

What is the easiest way to make sure that all the fields
in a form are filled in to avoid the Access system message
that something is not filled in upon close? Is there
something you can put on the Close event to verify that
all is filled out? Do I have to IsNull(Field) on all the
fields in question?

Thanks

Dan
 
A

Allen Browne

If you do not want to save the record while fields are null, use the form's
BeforeUpdate event to run the test.

A simpler solution is to open the table in design view and set the Required
property (lower pane) to Yes for the appropriate fields.
 

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