Consult the original issue for any attachments.
[ 1459323 ] Iteration through variables
Submitted By: Mr Londoner - mrlondoner
Date Submitted: 2006-03-27 06:22
Last Updated By: Item Submitter - Tracker Item Submitted
Date Last Updated: No updates since submission
Number of Comments: 0
Number of Attachments: 0
Group: Next Release
Assigned To: Nobody/Anonymous
Iteration through variables
Would it be possible to include a mechanism whereby variables are calculated more than once.
There are two reasons for this:
1 - Variables are evaluated in their order of appearance in the jrxml file. Any variable refering to later variables returns null. Recalculating these fields would ensure that they all contain a proper value.
2 - There may be instances where it is necessary to perform calculations many times in order to arrive at the desired figure. In order to avoid circular references, a limit would need to be applied to restrict the iteration count.This would be similar to
how Excel, for example, would handle calculations. I am fairly new to iReports but have already come up with a need to perform calculations based on calculations.
No follow-up comments have been posted.
No Files Currently Attached