Templar333
Technical User
Still working on my employee benefit query and thanks to you folks, I've come quite aways. The next thing I'm trying to do is this and I'm sure I got it all wrong....
Column in query requires an input from a lookup table [COMP] that has only 2 fields, [Age] and [Factor]. Taking another field from the query, [AGE AT 2002], I'm trying to get the right [Factor] amount into the column. Problem is [AGE AT 2002] has decimal points and so does [Age]. Example, in [COMP], the 2 fields have the following info:
[Age] [Factor]
65 1.0
64.83 0.9917
64.58 0.9732
.
.
.
55.17 0.5083
55.08 0.5042
55 0.50
And this is what I have down right now:
Result=DLookup("[COMP]![Factor]","[COMP]","[AGE AT 2002] >" & Age&)
Once again, many, many thanks in advance...Helm.
Column in query requires an input from a lookup table [COMP] that has only 2 fields, [Age] and [Factor]. Taking another field from the query, [AGE AT 2002], I'm trying to get the right [Factor] amount into the column. Problem is [AGE AT 2002] has decimal points and so does [Age]. Example, in [COMP], the 2 fields have the following info:
[Age] [Factor]
65 1.0
64.83 0.9917
64.58 0.9732
.
.
.
55.17 0.5083
55.08 0.5042
55 0.50
And this is what I have down right now:
Result=DLookup("[COMP]![Factor]","[COMP]","[AGE AT 2002] >" & Age&)
Once again, many, many thanks in advance...Helm.