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

Restrict Data 1

Status
Not open for further replies.

mrkshpntf

MIS
Apr 19, 2007
92
US

I am trying to restrict users from entering data above and below certain values.

On my form, I have a text box where users need to enter a number which cannot be higher than 2999 and lower than 0001. The value entered here needs to be stored a text datatype.

Where do I add this restriction and how?
 
You may use the ValidationRule property:
Like '####' AND Between '0001' And '2999'

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

Part and Inventory Search

Sponsor

Back
Top