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

Populate Parameter with Query


pbarmak

Recommended Posts

I'm new to iReport and I've just created a new Parameter. I don't see any option to populate that parameter with a database query. I only see fields for the parameter name, class type, "is for prompting", default value expression, and description.

 

How can I add a query into this using iReport? I want a simple dropdown that's populated from my database.

 

Thanks.

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Not sure the question was clear enough. My goal is not to put a parameter inside a SQL statement. The goal is to POPULATE the parameter with data from a SQL statement. I would want a QueryString within the definition of the parameter so it creates a dropdown with the data from that QueryString.

 

Does that make sense?

Link to comment
Share on other sites

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