On group change, start new page by code
I want to dynamically set the 'on group change, start new page' function,
that is , in some condition it will checked and in other condition it will
not checked. Is there any method to code it?
that is , in some condition it will checked and in other condition it will
not checked. Is there any method to code it?
This discussion has been closed.
Comments
You need to configure the groups prior to calling report.Print. Do not
modify the group properties while the report is executing.
When you create a group in the report designer, a TppGroup object is created
for the report. You can see this object by using the drop down list in the
object inspector and then selecting it. Programmatically you can access the
TppGroup objects either by name or via the Report.Groups[] array property.
example:
myGroup1.NewPage := True;
OR
myReport.Groups[0].NewPage := True;
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com