Author Topic: help. Page - render variable.  (Read 99 times)

Offline lexlukkia

  • Full Member
  • ***
  • Join Date: Apr 2018
  • Posts: 23
  • Forum Citizenship: +0/-0
help. Page - render variable.
« on: 16 May 2018 08:29:43 am »
Good day experts.

what do you think im doing wrong.

what i want to achieve is to create a report with 2 pages.
i have a prompt page with 3 value prompt (list type)
page_1 will display if none is selected on 3 value prompt
page_2 will display if something was selected on value prompt 1 and nothing is selected on 2 and 3.

i tried to do some test first.
value_prompt_1
---- static choice ----
use: 1
display: vp1_s1
use: 2
display: vp1_s2

value_prompt_2
---- static choice ----
use: 1
display: vp2_s1
use: 2
display: vp2_s2

value_prompt_3
---- static choice ----
use: 1
display: vp3_s1
use: 2
display: vp3_s2

all value prompt default selection was not set.

Variable:
page_1_boolean_var
---- expression ----
if ((ParamValue($value_prompt_1$) is null) and (ParamValue($value_prompt_2$) is null) and (ParamValue($value_prompt_3$)))
then ('Yes')
else ('No')

page_2_boolean_var
---- expression ----
if ((ParamValue($value_prompt_2$) is null) and (ParamValue($value_prompt_3$)))
then ('Yes')
else ('No')

Pages:
page_1
---- properties ----
Render Variable: page_1_boolean_var

page_2
---- properties ----
Render Variable: page_2_boolean_var

 


       
Twittear