dirk.wouters Posted September 4, 2018 Share Posted September 4, 2018 I use a cascading input query:SELECT account_analytic_account.code, account_analytic_account.namefrom project_projectLEFT JOIN account_analytic_account ON account_analytic_account.id = project_project.analytic_account_idwhere account_analytic_account.company_id = $P{company} and substr(account_analytic_account.code,1,2) = 'P-'order by account_analytic_account.code[/code]In the input control appears only one row. If I run the query against the database it gives hundreds of rows. What is happening here? Link to comment Share on other sites More sharing options...
Alex42 Posted September 4, 2018 Share Posted September 4, 2018 in the Input Control Tab you have the Value and Visible Columns pannel. You can add additional columns there.Hope it helps Link to comment Share on other sites More sharing options...
riodavid Posted September 5, 2018 Share Posted September 5, 2018 I'm not sure if it is a valid cascading input control query cause you used "$P{}". I haven't tried that yet.But usually we use $X{} to pass the parent value to child in a cascading input control. Link to comment Share on other sites More sharing options...
dirk.wouters Posted September 5, 2018 Author Share Posted September 5, 2018 Changing the visible columns does not have any effect. I 've used the "$P{}" before without problems and in this case '$X{}' is not applicable. 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