field validation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is gthere a way to vaildate field by field? i mean, focus remains locked on
control until requirements are met before field moves to next control?

thanks.

patti
 
patti said:
is gthere a way to vaildate field by field? i mean, focus remains locked on
control until requirements are met before field moves to next control?

Sure, use the BeforeUpdate event of the control and set the Cancel argument to
true when the validation fails. That of course won't help if they never enter
anything in the control at all so you also need to test in the BeforeUpdate of
the form.
 
thanks rick!

Rick Brandt said:
Sure, use the BeforeUpdate event of the control and set the Cancel argument to
true when the validation fails. That of course won't help if they never enter
anything in the control at all so you also need to test in the BeforeUpdate of
the form.
 

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

Back
Top