Hi,
I want to display 4 line item on each page, for that i am using below code line in After Print event of DataBand.
DataItem.NewPageAfter = (Line % 4 == 0);
I have total 10 line items in report Query result, on first page its always display 5 line items, Could you help me hoe to set 4 items on each page.
Conditional New Page After
-
- Posts: 2
- Joined: Mon Jan 18, 2016 6:38 am
Re: Conditional New Page After
Hello,
Please try to use the following code in the AfterPrint event:
Thank you.
Please try to use the following code in the AfterPrint event:
Code: Select all
if (Line == 4)
Engine.NewPage();