Skip to main content



      Home
Home » Archived » BIRT » Replace total.count() aggration method(Replace total.count() aggration method)
Replace total.count() aggration method [message #945604] Mon, 15 October 2012 09:18 Go to next message
Eclipse UserFriend
Hi All,

In my report,To display the total number of records I am using total.count() for total no.of records. But my client requirement is to avoid aggregation function in report.
So, Many I know is there any alternative way to present the total no.of records in report.

It a great help if you provide the solution.

Regards,
Balu
Re: Replace total.count() aggration method [message #947377 is a reply to message #945604] Tue, 16 October 2012 23:24 Go to previous message
Eclipse UserFriend
Every bound item should have the RowNum variable available. You could add a binding that references this value. Then in the detail just add code in the oncreate like
reportContext.setGlobalVariable("mytotalrows", this.getRowData().getColumnValue("nameofbindingyoucreated");

Then you can reference it later by calling reportContext.getGlobalVariable"mytotalrows");

Jason
Previous Topic:Integration of Data on real time
Next Topic:How to Connect to dynamic datasource using jdbc datasource
Goto Forum:
  


Current Time: Mon Jul 07 01:32:04 EDT 2025

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

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

Back to the top