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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limiting Crystal Reports XI Sub-report records returned to Main report

Status
Not open for further replies.

BLBlum

Programmer
Jul 1, 2011
2
US
thread149-493665

I tried this solution, but it didn't work in Crystal XI.

How do I limit the number of rows returned from the sub-report?

Thank you.
 
Please explain in what way you want to limit the rows, identify the group structure, specify in what section the sub is located and if it is linked, what field it is linked on.

-LB
 
Thank you for responding.

I want the first row only. The sub-report is located on one of the detail sections of the main report and the link is on an ID number.
 
So there are multiple rows returned in the sub? Assuming you have the sub sorted so that the first row shows the result you want, just move the fields into the header section and suppress the rest of the subreport.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top