S
smc
I've created a query using access 2000 to determine a count of
differently-aged individuals included in the corresponding table.
As a field I have : Age: DateDiff("yyyy",[data]![DOB],[Stats Date]![Stats
End Date]), where the "Stats End Date" corresponds to the specific cut off
date (in this case 06/30/04); in the criteria cell for this field, I
indicate the parameters of the age group, e.g., ">=4 And <12." Both DOB and
Stats End Date use input mask 99/99/00;0.
What I wanted (in this case) as a result is a list of those who are at least
4, but less than 12 years old, as of the cutoff date. This would exclude
those who are 3 years +9 months. But for reasons I don't get, the query
results include those whose DOB = 09/30/04. I've tried altering the criteria
to be more specific ">=4.00 And <11.99," but that doesn't yield any results
at all.
Help with this would be much appreciated.
differently-aged individuals included in the corresponding table.
As a field I have : Age: DateDiff("yyyy",[data]![DOB],[Stats Date]![Stats
End Date]), where the "Stats End Date" corresponds to the specific cut off
date (in this case 06/30/04); in the criteria cell for this field, I
indicate the parameters of the age group, e.g., ">=4 And <12." Both DOB and
Stats End Date use input mask 99/99/00;0.
What I wanted (in this case) as a result is a list of those who are at least
4, but less than 12 years old, as of the cutoff date. This would exclude
those who are 3 years +9 months. But for reasons I don't get, the query
results include those whose DOB = 09/30/04. I've tried altering the criteria
to be more specific ">=4.00 And <11.99," but that doesn't yield any results
at all.
Help with this would be much appreciated.