Can I make StartNewPage conditional?
I have a report where a band should be able to start a new page depending on a user configuration when committing the data. The idea is that the option to page break is part of the parameters sent to the report module for gathering the data.
Right now StartNewPage seems to be a boolean value, but it is somehow possible to make it conditional? And how would I go about doing that?
Right now StartNewPage seems to be a boolean value, but it is somehow possible to make it conditional? And how would I go about doing that?
Comments
You can do this in your Script/Code. There is a command that Starts a new page, currently not sure of the exact wording of the command.
We have implemented this with a UserFunction in Delphi:
frxReport1.AddFunction('procedure NewPage', 'Custom-Report', 'Forms a new Page');
If SameText(MethodName, 'NEWPAGE') then
frxReport1.Engine.NewPage