How to give each table in the report a name [message #1012992] |
Fri, 22 February 2013 10:24  |
Eclipse User |
|
|
|
Hi All,
In my report there are around 10 tables and 9 datasets(workorder,wosafetyplan,classstructure,jobplan,pm,pmsequence,asset,site,locations,ci)
They had mentioned "Give each table in the report a name, and add the names to the list below'.
But How to do it??
Please help
if ( (reportContext.getParameterValue("usepagebreaks") == "false") || reportContext.getOutputFormat() == "pdf" ) {
// Give each table in the report a name, and add the names to the list below, e.g. ["mainTable", "childTable1"]
var tableListing = ["mainTable "];
for each(var tableName in tableListing) {
var table = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement(tableName)
if (table != null) {
table.setProperty("pageBreakInterval", 0);
}
}
}
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04029 seconds