Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validate a field

Status
Not open for further replies.

mikepf

Programmer
Sep 5, 2007
38
US
Upon EXIT of a FORM, how do you validate a field NOT to be space? Thanks!
 
On Exit is a little late for validation. You can use various events of the control, a validation rule, or an earlier event of the form, Before Update is suitable. You may wish to look at faq702-2071.
 
Bottom line: enforce all the validation rules in the BeforeUpdate event procedure of the form and play with the Cancel parameter.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top