Hi,
I am trying to create a summary report. The fields I want to summarize are in a Yes/No format. I have a query behind the report that pulls all of the fields that are Yes. It is set up like this...
SELECT tblEnforcement.[103], tblEnforcement.[103CR], tblEnforcement.[6RK], * FROM tblFacility INNER JOIN tblEnforcement ON tblFacility.epaIDMaster=tblEnforcement.epaID WHERE (((tblEnforcement.[103])=Yes)) OR (((tblEnforcement.[103CR])=Yes) OR ((tblEnforcement.[6RK])=Yes));
There are about 25 of these fields, so I tried to keep it short. On the report I am using, for example, =count(103) in a text box. Anyway, when there is a field that does not have a Yes value, I get an error on the report. I have tried Iff statements, but I can't figure out what I am doing wrong. I don't think this is that complicated of a problem, I am just having a moment.
Thanks,
Shawn
I am trying to create a summary report. The fields I want to summarize are in a Yes/No format. I have a query behind the report that pulls all of the fields that are Yes. It is set up like this...
SELECT tblEnforcement.[103], tblEnforcement.[103CR], tblEnforcement.[6RK], * FROM tblFacility INNER JOIN tblEnforcement ON tblFacility.epaIDMaster=tblEnforcement.epaID WHERE (((tblEnforcement.[103])=Yes)) OR (((tblEnforcement.[103CR])=Yes) OR ((tblEnforcement.[6RK])=Yes));
There are about 25 of these fields, so I tried to keep it short. On the report I am using, for example, =count(103) in a text box. Anyway, when there is a field that does not have a Yes value, I get an error on the report. I have tried Iff statements, but I can't figure out what I am doing wrong. I don't think this is that complicated of a problem, I am just having a moment.
Thanks,
Shawn