Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Serial Numbers(Serial Numbers)
Serial Numbers [message #817013] Fri, 09 March 2012 14:32 Go to next message
JP Redro is currently offline JP RedroFriend
Messages: 167
Registered: July 2009
Location: India
Senior Member

Hi All,

I would like to generate serial numbers without using running count as a computed column in BIRT 3.7.1. Is this possible to generated the sequence.

I have tried with the following script, but not possible.

var sr = 0;
for(var y=0; y<= Total.count(dataSetRow["RC"]); y++)
sr = y;
return sr;

Please suggest me.
Thanks.
JP


Thanks,
JP
Re: Serial Numbers [message #817277 is a reply to message #817013] Fri, 09 March 2012 21:55 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

JP,

Where do you have this code?

Jason

On 3/9/2012 9:32 AM, JP Mising name wrote:
> Hi All,
>
> I would like to generate serial numbers without using running count as a computed column in BIRT 3.7.1. Is this possible to generated the sequence.
>
> I have tried with the following script, but not possible.
>
> var sr = 0;
> for(var y=0; y<= Total.count(dataSetRow["RC"]); y++)
> sr = y;
> return sr;
>
> Please suggest me.
> Thanks.
> JP
>
Re: Serial Numbers [message #817540 is a reply to message #817013] Sat, 10 March 2012 07:53 Go to previous messageGo to next message
JP Redro is currently offline JP RedroFriend
Messages: 167
Registered: July 2009
Location: India
Senior Member

Hi Jason,

Just i have try with this code, please give me correct code for generating sequence numbers.

JP.


Thanks,
JP
Re: Serial Numbers [message #817615 is a reply to message #817540] Sat, 10 March 2012 10:46 Go to previous message
JP Redro is currently offline JP RedroFriend
Messages: 167
Registered: July 2009
Location: India
Senior Member

Hi Joson,

I have done this using aggregation column with running count function.

Thanks,
JP


Thanks,
JP
Previous Topic:pdf emitter gives an "Internet Explorer cannot display the webpage" with IE 8 and https
Next Topic:Birt fails on report with strings
Goto Forum:
  


Current Time: Sun Nov 23 01:19:01 GMT 2014

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

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