Automatic Skip problem

Discussions about CSEntry
Post Reply
realturay
Posts: 8
Joined: July 25th, 2023, 12:39 am

Automatic Skip problem

Post by realturay »

I am a bit stuck at this logic.

I am doing a research but based on the expression below, I want question variable D7_1 to be only applicable to enter record if any one of the other 4 previous entry in question variable D6_1, D6_2, D6_3 and D6_4 is equal to the response 10 in the choices list
if D6_1 = 10 then
skip to D7_1;

elseif D6_2 = 10 then
skip D7_1;

elseif D6_3 = 10 then
skip D7_1;

elseif D6_4 = 10 then
skip D7_1;

endif;
Arjun Brti
Posts: 49
Joined: October 15th, 2020, 3:40 am

Re: Automatic Skip problem

Post by Arjun Brti »

Please try this:

PROC D7_1
preproc
ask if D6_1= 10 or D6_2= 10 or D6_3= 10 or D6_4= 10;
realturay
Posts: 8
Joined: July 25th, 2023, 12:39 am

Re: Automatic Skip problem

Post by realturay »

Many thanks. This works
Post Reply