Whoa...
I think we're making this way to complicated...
This is a small database for survey results. One of the questions is, Age of
Child?. The data entry person simply needs to enter the age of the child -
between 3years and 20 years of age. I would like Access to ONLY accept
values (ages) between 3 and 20.
I figured that setting the Validation Rule with a value range between 3 and
20 would do what I need, to make it impossible for the user to enter any
other value outside of this range.
Ray W. said:
Sorry, this would be at the Table level, in the design mode. User simply
enters child's age into field, value must be between 3 and 20 years of age.
Thanks
Rick B said:
Where are you putting this? In a calcualted field that calculates the age?
If so, I would think your code would work.
You might also try...
Field Value Between 3 and 20
If in another field, then you'd need to reference the field where date is.
I think it would be something like...
Expression is [AgeUnboundFieldName].value between 3 and 20
or maybe
Expression is [AgeUnboundFieldName].value >= 3 and <= 20
--
Rick B
I'm trying to enter a Validation rule that states the following:
AgeofChild
=>3 and <=20... what is the appropriate way to enter this range for the
rule?
-Ray