fmalaj
-
Posts
2 -
Joined
-
Last visited
Content Type
Forum
Downloads
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Events
Profiles
Posts posted by fmalaj
-
-
Hello,
I'm working on Jaspersoft Studio and I want to update a Static Text Field based on owner field i receive from the database. Lets say if owner is equsl to "JTI" then display "Ref Number" else display "Item Num" as static text.
This is what I tried putting in Print When Expression: $F{OWNER}.equals("JTI") ? "Ref Number" : "Item Num" for the static text field but I'm getting the error java.lang.String cannot be case to Java.lang.Boolean.
Can someone help me with this?
Page Break after x number of rows
in Products
Posted
I'm using Jaspersoft Studio version 6.3.1 and I want to insert page breaks after x number of rows. Right now I have 65 rows that all are displayed in one page. I dragged Break from Palette to my Detail then in the Print When Expression I tried:
None of the above worked. Not sure if I'm doing something wrong. Would really appreciate if someone can help me with this.