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

Problem to publish sub report to server


cactusbeef

Recommended Posts

  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>

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...