Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to give each table in the report a name(How to give each table in the report a name)
How to give each table in the report a name [message #1012992] Fri, 22 February 2013 15:24 Go to next message
vasanth kumar is currently offline vasanth kumarFriend
Messages: 4
Registered: October 2012
Junior Member
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);
}
}
}
Re: How to give each table in the report a name [message #1013090 is a reply to message #1012992] Fri, 22 February 2013 18:58 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

You can name your tables by selecting a table, going to the property editor's general section, and entering a name in the name field.

Michael

Developer Evangelist, Silanis
Re: How to give each table in the report a name [message #1014125 is a reply to message #1013090] Mon, 25 February 2013 07:57 Go to previous messageGo to next message
vasanth kumar is currently offline vasanth kumarFriend
Messages: 4
Registered: October 2012
Junior Member
Sorry I'm not find the specified path.. Sad

can u pls suggest me more clear...
Re: How to give each table in the report a name [message #1014329 is a reply to message #1012992] Mon, 25 February 2013 15:48 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Take a look at the image attached. The boxes highlight what you need to select. The numbers show the order.

Michael

Developer Evangelist, Silanis
Re: How to give each table in the report a name [message #1014732 is a reply to message #1014329] Tue, 26 February 2013 11:05 Go to previous messageGo to next message
vasanth kumar is currently offline vasanth kumarFriend
Messages: 4
Registered: October 2012
Junior Member
Thank you very much for providing the steps.
But,Still page break problem is not sloved. Sad

I'm using BIRT Version: 3.7.1 Could you please provide some solution for this issue.

PFA of report PDF output
  • Attachment: output.pdf
    (Size: 5.42KB, Downloaded 178 times)
Re: How to give each table in the report a name [message #1014866 is a reply to message #1014732] Tue, 26 February 2013 16:05 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

So, you're trying to get rid of all the blank space in the PDF? Can you attach your report design?

Michael

Developer Evangelist, Silanis
Previous Topic:Scripted datasource : wrong scope for "this" in Birt 4.2.1
Next Topic:cross tab - days of month
Goto Forum:
  


Current Time: Fri Jan 27 02:35:35 GMT 2023

Powered by FUDForum. Page generated in 0.04188 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top