volker_3 Posted June 14, 2018 Share Posted June 14, 2018 Dear community,I would like to achieve the following1. A single select query parameter has a list, where the user can select one entry2. 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 textI 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!cheersVolker Link to comment Share on other sites More sharing options...
reportdev Posted June 15, 2018 Share Posted June 15, 2018 Cascading parameters. https://community.jaspersoft.com/blog/cascading-parameters-jasper-reports-0Read 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 Link to comment Share on other sites More sharing options...
volker_3 Posted June 15, 2018 Author Share Posted June 15, 2018 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! Link to comment Share on other sites More sharing options...
reportdev Posted June 18, 2018 Share Posted June 18, 2018 I have tried it and it does not work... probably you will end up with 2 parameters. One to select the "Please take x tablets daily", Second to select number of tablets Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now