Dan Adams wrote:
I have a report I want to do that, while it runs one main query, needs to run many other small queries where it really only cares about getting one result from the query (such as a count or average). How is this done without creating a ton of subreports that don't print anything and just return a result?
You can just set parameters with these values. Just get your data source to run all the queries and put the results in different parameters. If you use subreports or not is a different issue.
manfred ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions