Jump to content
Changes to the Jaspersoft community edition download ×

Variables not synchronous : is it a bug ?


2006 IR Open Dicussion

Recommended Posts

By: cho7 - cho7

Variables not synchronous : is it a bug ?

2006-03-31 00:03

Hi,

 

in order to change my background dynamiclly according to the number of record per page, i have set a Boolean variable called "isLastPage" which return False if there is 60 records in the current page, True otherwise.

 

This variable is based on the Integer variable "totalRecordPerPage", which is a simple counter with page/page for incremental/reset

 

I have a debug textfield in my report which print the status of isLastPage, and it works wonderfull BUT if i put in this textfield a "Print when Expression $V{isLastPage}" condition, it doesn't work as expected : even if 'isLastPage' is false, the textfield appear, with 'false' printed in it.

 

So there is a problem of time evaluation, and i don't know is there a way to fix this problem

 

Any idea ?

 

Thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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