Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subreport displaying multiple times 1

Status
Not open for further replies.

amoeba102

Programmer
Apr 2, 2002
58
US
Using CR9. I have a main report and 4 subreports. The ones pertinent to my question are: Invoice, context, person. They link this way: Invoice.Main_Context inner join to Context.Context_id. Context.Person inner join to Person.Person_id

I have an invoice subreport. The invoice # is passed into it from the main report. It displays all the invoice line items perfectly, but displays the subreport as many times as there are context records. So everything would be correct if my subreport only showed once per invoice.

Anyone see my error?
 
Insert a group on invoice in the main report and then place the subreport in a group header section. This could be a _b section if you want the subreport below the main header.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top