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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validate text field

Status
Not open for further replies.

redsand

Programmer
Aug 15, 2001
45
US
I am having difficulties validating a text field. I want to force the user to enter a phone number.
I am setting the validation to IS NOT NULL in the table. I know I am not doing something correct. Can anyone help. Thanks
 
You could put some code onto the ON EXIT event of your text field. You could then test the field for your required contents and display an error message using a message box if it is incorrect.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top