Jump to content
We've recently updated our Privacy Statement, available here ×

Parameters in an in clause


nagibeni

Recommended Posts

I'm new at jasperstudio i need to pass a parameter to a query where i need to select values from another query

Example

Table:

doc   nom

EF   description EF

ET   description ET

ER  description ER

My query is select doc,nom from table where tpo in ('EF','ET)

the values EF, ET i get it from this query (select tpo from tabla) and pick those values in the jasperserver

How i define those parameters?

I try with $P!{Parameter} but i cant make it work, i dont know how to define those values as parameters and pick them when y call the report in jasperreport

Sorry my english, not very good.

Thank you very much

 

Hope you can help me

 

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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