P
Paul James
I'm trying (in a report field) to obtain the Average of a (calculated) query
field, and I keep getting #Error in the report. The Query field "Days" is
calculated from an expression involving several dates. I've noticed that in
the query datasheet view, the numbers in that Days column are
left-justified, implying that the query thinks they're text values.
I've tried calculating the Average number of Days in my report field using
expressions like
=Avg(txtDays),
=Avg([txtDays]), and
=Avg(CInt([txtDays])
but to no avail.
So how can I
a) get the query to realize that the calculated field "Days" is an
integer, and
b) calculate it's average value in a report field?
Thanks in advance,
Paul
field, and I keep getting #Error in the report. The Query field "Days" is
calculated from an expression involving several dates. I've noticed that in
the query datasheet view, the numbers in that Days column are
left-justified, implying that the query thinks they're text values.
I've tried calculating the Average number of Days in my report field using
expressions like
=Avg(txtDays),
=Avg([txtDays]), and
=Avg(CInt([txtDays])
but to no avail.
So how can I
a) get the query to realize that the calculated field "Days" is an
integer, and
b) calculate it's average value in a report field?
Thanks in advance,
Paul