Page 1 of 1
logic on form not working
Posted: May 23rd, 2017, 9:26 am
by MrTaco
Hi
I tried to insert logic the form but it not working.
Code: Select all
PROC SECTION_9_HIV_COUNSELLING_A_F001
preproc
if Q6_2 = 1 then skip to SECTION_10_HIV_RISK_PERCEPT_FORM;endif;
What could be the same the problem
Re: logic on form not working
Posted: May 24th, 2017, 1:02 am
by bhavu8150
Hi MrTaco please fix this preproc logic on section 10 first variable it is perfect work.
Re: logic on form not working
Posted: May 27th, 2017, 4:48 am
by sah
Another way around this is to use the Postproc in the section 9 so it can be executed for Section 10 Variable.
Re: logic on form not working
Posted: May 30th, 2017, 2:55 am
by josh
Hard to say what the problem without seeing the rest of your application. To debug these kinds of things I put in trace statements or errmsg statements to get more information on the problem. For example, put something like: errmsg("In preproc SECTION_9_HIV_COUNSELLING_A_F001. Value of Q6_2 is %d", Q6_2) in your preproc and see what happens.