2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: thomas - ddw1101 subreport 2003-07-17 08:13 i have a question: i had 2 tablemodel in my report, so i use subreport to realize. i want to use a condition to choose the data from table. i read the example of subreport in the JasperReport. i see we define subparameter in the master-report : City $F{city} in sub-report: $P{city} for bind the data to use SQL:select * from * where city = $P{city} but here for me, i only use 2 tablemodels not database. so i cant use "select" to bind the data. i cant know how to define subparameter? ps:for example_2 tables defined by me, there are a column "city" in each table. i want to choose the data by "city" , use groups for realize. 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