Jump to content
Changes to the Jaspersoft community edition download ×

variables. Count.

Recommended Posts

By: Ilievski Bozidar - bobi1978

variables. Count.

2002-01-29 02:17

Hi Teodor.

I have report that has GROUP expression in it.

I need to count how many groups are there in the report,

and to print the number of the group in the <groupHeader> tag.


Something like this:


1. first group

- first record

- second record

- third record


2. second group

- forth record

- fifth record


3. third group

- sixth record

- seventh record


And can you explain how variables work?

Example :

<variable name= var1    Count >

<variableExpression> $F{field}</variableExpression>



What really happens is : var1 = var1 + 1 . Is it right

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...