Reputation: 1
I am working on VS 2005 / Crystal Reports.
In the Sub report, i need to limit to 18 records per page.
I need to do paging for the Crystal Sub Report ?
I am not able to do paging for crystal sub reports ..!
Upvotes: 0
Views: 1421
Reputation: 11
You can suppress the detail section with this condition:
if recordnumber>N then true else false
// N being the number of rows
Upvotes: 1
Reputation: 18600
There are multiple ways. Create a Shared variable
shared numbervar count := 0;
Increment the count variable in a formula. Place the formula in the details section and suppress it.
Conditionally suppress the Details section when the count variable is > 18.
Upvotes: 0
Reputation:
Paging is handled by the main report.
Why do you need to restrict the subreport output to 18 rows per page?
Upvotes: 0