Sub-Report Data Times 4

E

Ed S.

I've got a sub-report that is pulling information from a related, but
different table from the main report. The master/child link is correct, I've
checked it ten times. When I pull up the sub-report by itself, the
information is correct. However, when I pull up the report, it shows every
record on the sub-report 4 times, as if each item has been entered 4 times.

Has anyone encountered this or do you have any suggestions?

Thanks!
 
M

Marshall Barton

Ed S. said:
I've got a sub-report that is pulling information from a related, but
different table from the main report. The master/child link is correct, I've
checked it ten times. When I pull up the sub-report by itself, the
information is correct. However, when I pull up the report, it shows every
record on the sub-report 4 times, as if each item has been entered 4 times.


That's the kind of thing that can happen if the main
report's query includes the table used by the subreport.
Try opening the main report's query by itself and check if
this is what's causing it.
 
E

Ed S.

Nope, the query for the main report is based on one table, the subreport is
based on the other. Any other ideas?

Thanks!
 
M

Marshall Barton

I still think the likely cause is that the linking field in
the main report occurs more often than you expect. The best
way to check if that's the case is to open the main report's
record source in sheet view and carefully inspect the
records.

If that's not it, then all I can suggest is look at what
else is different when the report is used as a subreport.
The obvious things are that page related actions are not
invoked in a subreport and the Link Master/Child properties
are introduced into the equation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top