Jump to content
Changes to the Jaspersoft community edition download ×

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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