Hi,
My company has recently switched from Crystal Reports to Jasper IReports. I'm findng it hard to find a lot of documentation and training manuals for IReports so far. I'm trying to write an if-then-else statement for a field in Ireport that tests for data type.
Here is what I am trying to do:
if text(test."testname") then testresult."resulttext" else
if isdate(test."testname) then testresult."resultdate" else
if isnumeric(test."testname") then testresult. "resultnumber".
I'm not sure if there is an IReport equivalent? Hope this makes sense. Thanks in advance.
If I'm in the wrong section for this question, I apologize- I'm happy to re-post in the correct one, just couldn't fins one for Jasper reports.