Hi All,
In the main report page, I am having a text box prompt and a Finish(Prompt Button). And am having a list with Serial Number as a column. When I enter a serial number in the text box and press finish, the list has to appear. At the run time, I need only text box prompt to be visible, but not the list.
Regards
Ram.
So you need to render the list only when the parameter is not null?
Yes Paul, When I enter a serial Number in the text box,the list column has to appear.
Can you use conditional variable for the whole list, with box type none etc.,
Hi Tupac,
I have used the same.By taking a Boolean variable. In that I have dragged the parameter which is related to the textbox. And I have selected entire list and assigned boolean variable to that. And For Yes or No Part. I did Box type as none. I mean to say for No part.
But When I run the report, I am getting text box . but when I enter a value and press finish. I don't find any change.
so does your expression say Paramvalue('parameter name you are using') is not null
No. I have just dragged the parameter
You're working in the right direction. Instead of using a style variable try using a render variable. Setting the box type to none will still cause the list to be rendered - it will just be hidden from view.
Also, simply dragging the parameter into the expression editor will not be sufficient. It needs to be a Boolean expression returning either true or false. As Tupac suggested, paramvalue('paramname') is not null will work well for your needs.
The render variable will process before the page is loaded. It determines if the expression is true (is paramvalue('paramname') not null?) If the parameter is null then the list will not be rendered.