Skip to main content



      Home
Home » Archived » BIRT » How to get recordcount?
How to get recordcount? [message #141989] Thu, 09 March 2006 07:16 Go to next message
Eclipse UserFriend
Originally posted by: sabya2000.rediffmail.com

How do I get the recordcount in the Data set when I use a jdbc data
source? Any help will be appreciated. Thanks in advance.
Re: How to get recordcount? [message #142158 is a reply to message #141989] Thu, 09 March 2006 09:45 Go to previous messageGo to next message
Eclipse UserFriend
row[0] contains the current row number. You can override the onFetch method
and just do an increment.
In the data set you are interested in just override the open and put
something like

rwtotal = 0;

in the onFetch

rwtotal++;

Jason

"Sabya" <sabya2000@rediffmail.com> wrote in message
news:07db74936a444012e47edcc880c3daac$1@www.eclipse.org...
> How do I get the recordcount in the Data set when I use a jdbc data
> source? Any help will be appreciated. Thanks in advance.
>
Re: How to get recordcount? [message #142205 is a reply to message #142158] Thu, 09 March 2006 10:28 Go to previous message
Eclipse UserFriend
Originally posted by: juergen.schwarz.gefasoft.de

To get the total number of rows, you can use Total.count()


Jason Weathersby schrieb:
> row[0] contains the current row number. You can override the onFetch method
> and just do an increment.
> In the data set you are interested in just override the open and put
> something like
>
> rwtotal = 0;
>
> in the onFetch
>
> rwtotal++;
>
> Jason
>
> "Sabya" <sabya2000@rediffmail.com> wrote in message
> news:07db74936a444012e47edcc880c3daac$1@www.eclipse.org...
>> How do I get the recordcount in the Data set when I use a jdbc data
>> source? Any help will be appreciated. Thanks in advance.
>>
>
>
Previous Topic:J:\Projects\WR\WRM\WEB-INF\attachments
Next Topic:Get X and Y value of a bar of a bar-chart?
Goto Forum:
  


Current Time: Wed Jul 16 21:05:59 EDT 2025

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

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

Back to the top