logo       

Reference a parameter from another parameter: msg#00018

java.jasperreports.general

Subject: Reference a parameter from another parameter

Is it possible to reference one parameter from another?

I need to get the date prior to a user entered date and while, in theory, I could do this with DB2, I get an error stating that the parameter is incorrectly referenced.  I figure that it's because the parameter is nested too deeply.

I thought that an excellent way to work around this is to just say something like $NewParameter = ($Parameter.ConvertedToDateFromCustomFormat() - 1 day).ConvertedBackTodateFromCustomFormat().  However, I haven't seen anything that does this and I haven't been successful at doing this.

Thanks!
Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise