I want to do an If then else statement in Jasper Report like
If <Parameter> == "daily" ? "day" : ((<Parameter> == "monthly") ? : "month" : "year"))
however it always shows "year" for the text field. I've tried using <parameter>.equals("daily") but this leads to null values.
Can someone tell me the correct syntax?
Aucun commentaire:
Enregistrer un commentaire