Paul,
Without going down the track of analysing your query at this stage, I
can't understand how what you wrote here is related to my earlier reply.
Do you mean you have the textboxes such as =sum([Form2]) in the report
footer? Or in the detail section? If they are in the detail section,
move them to the footer. Make sure they are not named Form2 etc. If
they are already in the footer section, I cannot see how they would get
dispayed multiple times.
If you just want to see the totals and not the detail records, set the
Visible property of the detail section to No.
--
Steve Schapel, Microsoft Access MVP
Steve,
I tried your suggestion, however the result I get is the 'query is too
complex'
My query looks like this,
------------------------------------------------------------------------------------
SELECT Abs(Sum([Form2]="Filed")) AS Form2
FROM tblUnit1
WHERE (((tblUnit1.Region)=Forms![frm_Crew_Forms]![Region]) AND
((tblUnit1.Station)=Forms![frm_Crew_Forms]![Station]));
UNION ALL
SELECT Abs(Sum([Form2]="Filed")) AS Form2
FROM tblUnit2
WHERE (((tblUnit2.Region)=Forms![frm_Crew_Forms]![Region]) AND
((tblUnit2.Station)=Forms![frm_Crew_Forms]![Station]));
UNION ALL
SELECT Abs(Sum([Form2]="Filed")) AS Form2
FROM tblUnit3
WHERE (((tblUnit3.Region)=Forms![frm_Crew_Forms]![Region]) AND
((tblUnit3.Station)=Forms![frm_Crew_Forms]![Station]));
--------------------------------------------------------------------------------
I removed most of the fields being collected to make it readable here.
Now the query when run produces:
----------------
Form2
9
4
3
----------------
In my report, I have created unbound text boxes with =sum([Form2]) as the
source.
What I get is three lines with the same thing. I do not want to show the
individual rows of data, just the total.
Thanks for having a look.