Problem to publish sub report to server

  1. I have an Integer parameter LOCATION_COUNT, I want to use it to control which sub report to display.  
  2. I use the following syntax in my main report. It work as I expected in Studio. But when I publish to server. Only one sub report be publish to server, I had to upload there other sub report by myself. But whatever I give I or 2 in the parameter LOCATION_COUNT it always show one sub report  

<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + ($P{LOCATION_COUNT}>1? "SCHOOL_SUB02":"SCHOOL2_SUB01") + $P{SUBREPORT_EXT}]]></subreportExpression>


cactusbeef's picture
Joined: Apr 17 2016 - 8:29pm
Last seen: 5 months 1 week ago

0 Answers:

No answers yet