Hi,
I am creating a report and one of the requirement for this is to start a new page when the value of
of a column from my datasoure table changes.
Can anybody please tell me if this is possible? If yes, can you please guide me on how to do it.
thanks,
mgarier01
Start New Page base on Condition
Start New Page base on Condition
Hi,
I figured out how to do it.
Before running the actual report I have a Dialog box that allows the user
to select groups (max of 3) and allow user page break on 1 of the columns in the group.
This is how I do it.
There is a property StartNewPage in the group band.
In one of the event from the group band selected (BeforePrintEvent in my case)
I inserted the condition for page break
this.GroupHeader1.StartNewPage = ExamReportData.PageBreakFieldValue.Length > 0.
I am not sure if there is an easiest way to do it. but it works for me.
This might be helpful in case you have similar requirements.
mgarier
I figured out how to do it.
Before running the actual report I have a Dialog box that allows the user
to select groups (max of 3) and allow user page break on 1 of the columns in the group.
This is how I do it.
There is a property StartNewPage in the group band.
In one of the event from the group band selected (BeforePrintEvent in my case)
I inserted the condition for page break
this.GroupHeader1.StartNewPage = ExamReportData.PageBreakFieldValue.Length > 0.
I am not sure if there is an easiest way to do it. but it works for me.
This might be helpful in case you have similar requirements.
mgarier
Start New Page base on Condition
Hello,
We will release new version of our report engine - EngineV2 in few days. In version you can start new page with help of following code in script:
for new column:
Thank you.
We will release new version of our report engine - EngineV2 in few days. In version you can start new page with help of following code in script:
Code: Select all
this.EngineV2.NewPage();
Code: Select all
this.EngineV2.NewColumn();