Hi team,
I created a report in which i show detail in a group of 5 on report page.
Case 1:- Suppose i have detail of 100 company and i want to display only 40 company detail list and average on report page.But i want if there any space exist on first page then average will also show on first page else if space does not exist then it will display on next page.
Case 2:- Suppose i have detail of 100 company and i want to display only 41 or 42 or 43 company detail list and average on report page.But i want it in a group of 5. Means first page of report show only 40 records and 41st record and average should display on second page.
if i want to display 42 record then first page only show 40 record and next page should show the remaining record.
I have already attached xml,xsd and mrt file. Please help.
In this screen shot , if there is 41 or 42.. record then i want it to display on second page. But if there is only 40 record then i want average to display at place of 41 if there exist any space.
Thanks
Pankaj
Want to display record in group of 5
Want to display record in group of 5
- Attachments
-
- Forum issue.zip
- (13.49 KiB) Downloaded 159 times
Re: Want to display record in group of 5
Hello,
As a way, in this case, you can check the number of lines and use Engine.NewPage() method in the AfterPrint of the necessary band.
Something like following:
Thank you.
As a way, in this case, you can check the number of lines and use Engine.NewPage() method in the AfterPrint of the necessary band.
Something like following:
Code: Select all
if (Line == 40)
Engine.NewPage();