Hi, might be easy question, i am trying to write condition under check file to write value of 9 in 2 places if one cell equal to NA (code below), it does not work (and no error message), any tips?
AFTER ENTRY IF v64=NA THEN LET V65=9 & V66=9 & goto V67 ENDIF
Thank you in advance best regards ziad
Perhaps:
AFTER ENTRY IF v64="NA" THEN V65=9 V66=9 goto V67 ENDIF END
Regards,
Hans
epidata-list@lists.umanitoba.ca wrote:
Hi, might be easy question, i am trying to write condition under check file to write value of 9 in 2 places if one cell equal to NA (code below), it does not work (and no error message), any tips?
Thank you in advance best regards ziad
Should be written as follows (only 1 argument per line)
-----Message d'origine----- De : epidata-list@lists.umanitoba.ca [mailto:epidata-list@lists.umanitoba.ca] Envoyé : mercredi 28 mai 2008 17:48 À : epidata-list@lists.umanitoba.ca Objet : [EpiData-list] If..then
Hi, might be easy question, i am trying to write condition under check file to write value of 9 in 2 places if one cell equal to NA (code below), it does not work (and no error message), any tips?
AFTER ENTRY IF v64=NA THEN V65=9 V66=9 goto V67 ENDIF
Thank you in advance best regards ziad
participants (1)
-
epidata-list@lists.umanitoba.ca