Hi guys
i want the logic code based on the sentence below
it should be able to detect if the 2nd partner is 5years younger or 5years older than the 2nd partner so it be able to skip to other questions
thanks in advance
how to determine the age
Re: how to determine the age
Hi,
More context is required to be able to help with any code. Are both partners being listed in some kind of roster?. At what point do you want to 'detect..'? Is it immediately after you enter the age of the second partner? Do you have a variable that identifies that this is the second partner? or you have to extract this from relationship codes somewhere? There is definitely a way to do it depending on the exact sequencing of questions and the context...
Saint..
More context is required to be able to help with any code. Are both partners being listed in some kind of roster?. At what point do you want to 'detect..'? Is it immediately after you enter the age of the second partner? Do you have a variable that identifies that this is the second partner? or you have to extract this from relationship codes somewhere? There is definitely a way to do it depending on the exact sequencing of questions and the context...
Saint..
Re: how to determine the age
Hi Saint I managed to crack it hey
I used if Q1.1 < Q21.1-5 then skip to Q23.1;endif; it worked
Thanks
I used if Q1.1 < Q21.1-5 then skip to Q23.1;endif; it worked
Thanks