ronedog Posted April 29, 2010 Share Posted April 29, 2010 I'm using Web Services to run some reports created in iReport on JasperServer. Is it possible to pass the whole querystring that is located inside the XML? For example, If I add the following string to my call to jasper from php can the report use this query to populate the data? <queryString> <![CDATA[sELECT * FROM table WHERE j=2]]> </queryString> Basically, I'm trying to find a way to dynamically create the SQL for the report, then pass the SQL over to Jasper to run the report...is it even possible? Thanks. Link to comment Share on other sites More sharing options...
lucianc Posted May 4, 2010 Share Posted May 4, 2010 You can have a report query of the form $P!{ReportQuery}, where ReportQuery is a report parameter. Then you can pass a value to the parameter and it will be used as query.Regards,Lucian Link to comment Share on other sites More sharing options...
ronedog Posted May 6, 2010 Author Share Posted May 6, 2010 Great. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now