Jump to content
We've recently updated our Privacy Statement, available here ×

fmalaj

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by fmalaj

  1. 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: new Boolean($V{PAGE_COUNT}.intValue()==12)new Boolean($V{REPORT_COUNT}.intValue()==12)new Boolean($V{PAGE_COUNT}.intValue()==12)$V{PAGE_COUNT}==12$V{PAGE_NUMBER}=12$V{REPORT_COUNT}.intValue()==12None of the above worked. Not sure if I'm doing something wrong. Would really appreciate if someone can help me with this.
  2. 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?
×
×
  • Create New...