Paging in Crystal Sub report
I am working on VS 2005 / Crystal Reports.
In the Sub re开发者_开发知识库port, 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 ..!
You can suppress the detail section with this condition:
if recordnumber>N then true else false
// N being the number of rows
Paging is handled by the main report.
Why do you need to restrict the subreport output to 18 rows per page?
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.
精彩评论