Dear community,
I would like to achieve the following
1. A single select query parameter has a list, where the user can select one entry
2. Once the user selects a value from the list, this value should be displayed in a "Single Value" parameter to allow the user to change the text
I do know ( :-) ) how to do 1., but how do I pass the selected value of a single select query parameter to a "single value" parameter to allow the user to change?
Thanks a lot!
cheers
Volker
3 Answers:
Cascading parameters. https://community.jaspersoft.com/blog/cascading-parameters-jasper-reports-0
Read more about cascading parameters concept.
Once the user selects a first parameter, the list value would be sent into the second parameter SQL where clause
Hello reportdev,
I do know how to do cascading parameters and limit the second list based on the first list; this wasn't the question. The question is, how can I send a selected value into a "single text parameter" to allow the user to edit?
Basically, the list has a set of predefined values - with placeholders though, and the user wants to select a text and then edit as needed for each report execution.
For example: The user selects "Please take x tablets daily" from the drop down and does then want to replace the x with a number.
Thanks!