Values not recorded if skipped
Posted: April 20th, 2013, 11:50 am
If a field is recorded (let's say A3), but then you return to an earlier question (using MOVE TO A1 statement for example), then the second time around this field is skipped over (i.e. from A2 you skip to A5), CSPro does not appear to be able to read that recorded value in later logic statements.
Example:
PROC A5
if A3(curocc())=2 then skip to A7;
endif;
-------------
It does not seem to know how to read this logic, because it doesn't know the value for A3(curocc()).
It appears that the problem is because a skip automatically sets the skipped variables to NOTAPPL, even if they were previously recorded? Any solutions to getting around this? Maybe something using killfocus / onfocus?
Example:
PROC A5
if A3(curocc())=2 then skip to A7;
endif;
-------------
It does not seem to know how to read this logic, because it doesn't know the value for A3(curocc()).
It appears that the problem is because a skip automatically sets the skipped variables to NOTAPPL, even if they were previously recorded? Any solutions to getting around this? Maybe something using killfocus / onfocus?