Jump to content
Changes to the Jaspersoft community edition download ×

Scriptlet & Evaluation


2005 IR Help

Recommended Posts

By: LL - lovelyliatroim

Scriptlet & Evaluation

2004-08-10 06:40

Hey Folks,

Having a problem i think with evaluation in my report,i have a report which has a scriptlet attached, on on each record in the detail section i carry out a calculation on the data, after each calculation i set a variable, now the variabe is shown in the summary section of the report, the variable is in a textfield expression, the textfield expression shows 0(initial value), now the reason i think this is, is because the textfield gets evaluated before the calculations are done!!

So basically, my variable which is calculated from the scriptlet is showing its initial value which is "0" because i think the summary report gets evaluated before the scriplet is called!!

 

anyone know how i can overcome this solution!! I have changed the evaluation time of the textfield to report,pade,column etc, wouldnt let me do group as i have no groups, but i still cant get it to work!!

 

is there any documentation on how a report is generated i.e the sequence taken to realize a report??

 

thanks in advance,

LL

 

 

 

 

By: LL - lovelyliatroim

RE: Scriptlet & Evaluation

2004-08-11 06:09

easy when you know how, just had to set the variable type from "Nothing" to "System"!! then works fine!!

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