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

Linking a report to a Query in the repository


robert.baldock

Recommended Posts

I'm having problems linking a Query in the repository to a report created in Studio.  If I hard-code a SQL query in the JRXML file with <queryString>, I get results displayed in the report when I publish it to the server.  However, if I remove the <queryString> element and try to link the report to a Query in the repository (which contains the same SQL string) using the UI, I get no results.  Why might this be?

As a possible way round this, is there a way to refer to a Query by its ID in a JRXML file using <queryString>?

 

Robert

 

Link to comment
Share on other sites

  • 4 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...