Jump to content

Get the number of detail rows on a page


jjjj

Recommended Posts

Hi,

 

perhaps someone knows a workaround for me ..

 

My problem is that I need to know, how many column rows are displayed on each page..

 

But I don't want it as output in a TextField where I could use the evaluationTime property but I want to use this value in a variable.

 

for example:

( $V{COLUMN_NUMBER}.intValue() == $V{PAGE_COUNT}.intValue() ) ? <doSomething> : <doSomethingElse> )

which means that doSomething should be performed if the current row is the last row in the current page and in any other case doSomethingElse should be performed.

 

It doesn't matter if I have to write my own counter variable, I just want to use it in other expressions and define it's evaluation time there (and not by displaying it in the report).

 

Thanks for anyone who can help.

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...