You can do this easily in a scriptlet:
((JRFillField) fieldsMap.get(fieldName)).getOldValue()

There are other ways to accomplish this, but I think this is the 
simplest one.

HTH,
Lucian

John Dunn wrote:
> I want to be able to compare a value in my data record with the value from
> the previous record. i.e I need to store the value from the previous record.
>
> How do i do this?
>
>
>
>
>
>
> _______________________________________________
> jasperreports-questions mailing list
> jasperreports-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
>   


_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to