Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Setting the Page Break Interval through a parameter ?
whiteyinsk
Hi:
Is there any way to set the Page Break Interval (controlling the number of rows on a report before a page break occurs) through a parameter value ?
Find more posts tagged with
Comments
mwilliams
In your beforeFactory script of your report, you could put something like:
reportContext.getReportRunnable().designHandle.getDesign().findElement("myTable").setProperty("pageBreakInterval",params["mySTRINGparameter"]);
In the general tab of the property editor for the table, you'd set the name of the table to "myTable" if this was your code. Also, the interval value must be passed as a string, so use a string parameter rather than an integer.