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

Validate text box - 1 or null ONLY

Status
Not open for further replies.

gcole

Programmer
Aug 2, 2000
390
US
How do I allow 1 or Null only in a text box bound to a table? I have 56 records to validate.
 
Use a Validation Rule on the underlying table field. The rule would be something like:

Code:
=1 Or Is Null

To set this rule, go into the underlying table's design view, select the relevant field and you'll see "Validation Rule" listed in the field properties.

[pc2]
 
Thank you. I used this in the properties section of the text box and it worked great. I was trying to put in = 0 Or null. It's the little things!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top