J
jas580
Hi,
I have a totals query with the following:
Date, Max
Amount, Sum
Type, Where (IIf([Forms]![frmLookup]![checkbox]=1,[Type],[Type]<>3)
The query works perfectly when the checkbox=1. But, when it =0, the query
returns empty Date and Amount fields. (Type is selected to be not showing).
The query also worked perfectly when I didn't have the checkbox feature.
I need it to sum all records not of type 3 when the checkbox=0 and can't
figure it out. Does it have something to do with <> in a totals query?
Please help!
Thanks,
Jeff
I have a totals query with the following:
Date, Max
Amount, Sum
Type, Where (IIf([Forms]![frmLookup]![checkbox]=1,[Type],[Type]<>3)
The query works perfectly when the checkbox=1. But, when it =0, the query
returns empty Date and Amount fields. (Type is selected to be not showing).
The query also worked perfectly when I didn't have the checkbox feature.
I need it to sum all records not of type 3 when the checkbox=0 and can't
figure it out. Does it have something to do with <> in a totals query?
Please help!
Thanks,
Jeff