Jump to content
Changes to the Jaspersoft community edition download ×

Auto-Complete Multi Select Query for Parameters in JasperServer


david.garza

Recommended Posts

Hi!

I have a multi-select query parameter in JasperServer which performs a query against a database of 500,000+ unique records returning a single value for the user to select one or more. I simply cannot query for 500k records each time the report is open. Is there another option such as a auto-complete as your type in the value whereby performing a where lookup on the value column and all of the visible columns?

Thanks!

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Mariano,

Thank you for the response. So if I understand you currently, you are suggesting that I create cascading parameters setup. In my case, I would create two inputs:

Loan # (single text entry field)
Multi-Select Query using Loan # entered as a SQL like filter parameter

For the multi-select query, I would return no results if Loan # is empty otherwise I would return TOP 20 (e.g. SELET TOP 20 LoanNumber...) which dynamically updates as the user types in a loan number. I would use the selected value(s) of the Mutli-Select query in report query rather than the "filtering" Loan #.

Does that sound accurate?
 

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