![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
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