JSquire Posted March 30, 2008 Share Posted March 30, 2008 Hi, iReport newbie and would appreciate any assistance. I am trying to fill a crosstab in my subreport summary band using a subdataset (query to mysql - default datasource). The subreport has parameters that I use in my subdataset query. In the crosstab properties I have:- selected "Use a dataset ....."- selected the subdataset I want from the drop down in the datasetrun.- defined the subreport parameters as input to the subdataset (with no default value)- used $P{REPORT_CONNECTION} connection expression to use the subreport data source. The report compiles and runs but the crosstab does not return any data and no errors. The query itself is fine cause I can run it as the report query (same input parms) instead of a subdataset and I get the data I want. Where am I going wrong? Do I need to define a separate datasource for the subdataset? Tried a few options but cant get the syntax right - can someone please post an example data source expression and how to configure it? Thanks in advance. Link to comment Share on other sites More sharing options...
lazyguru Posted June 24, 2008 Share Posted June 24, 2008 Did you ever find an answer on this? I am having the exact same problem. Link to comment Share on other sites More sharing options...
JSquire Posted August 27, 2009 Author Share Posted August 27, 2009 sorry - been off the radar a while.Presume you have resolved this by now but just for other users ...... ensure you have defined the parameters feeding into the crosstab correctly. 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