T
Trying
Hi
Hi
I have a field, named [Type].
In a report, what is the expression to count this field “[Type]” where
Type="Truck"
??? =Count([Type]) where type = “Truck”
Thanks
Steve Schapel said:Trying,
In the Control Source of an unbound textbox in the Footer or Header of
the report...
=Sum(IIf([Type]="Truck",1,0))
--
Steve Schapel, Microsoft Access MVP
Hi
I have a field, named [Type].
In a report, what is the expression to count this field “[Type]†where
Type="Truck"
??? =Count([Type]) where type = “Truckâ€
Thanks
Steve
I used your expression in an unbound text box in the footer of my report.
An error window poped up saying.....The expression
=Sum(IIf([Type]="Truck",1,0)) is invalid. Aggregate functions are only
allowed on output fields of the Record Source.
Any suggestions?
Steve Schapel said:Trying,
In the Control Source of an unbound textbox in the Footer or Header of
the report...
=Sum(IIf([Type]="Truck",1,0))
--
Steve Schapel, Microsoft Access MVP
Hi
I have a field, named [Type].
In a report, what is the expression to count this field ´[Type]¡ where
Type="Truck"
??? =Count([Type]) where type = ´Truck¡
Thanks