Hi Pieter,
You can use a "IF... THEN..." syntax instead of "JUMP".
For your examples:
V8 AFTER ENTRY IF (V8 > 0 AND V8 < 8) THEN GOTO V10 END END
V5 AFTER ENTRY IF V3 = 1 THEN GOTO V8 END END
As you can see, this is pretty easy!
Regards
Yves ------------------------------------------------------- Yves MARTIN-PREVEL, Epidemiologist, MD, MSc, PhD Nutrition Unit (WHO Collaborating Center for Nutrition) Institut de Recherche pour le Développement (IRD) 01 BP 182 - OUAGADOUGOU 01 - BURKINA FASO Tel: +226 50 30 67 37; Fax: +226 50 31 03 85 http://www.ird.bf/
epidata-list@lists.umanitoba.ca a écrit :
Dear list,
I have two questions regarding Jumps in EpiData Entry.
- I want to jump to variable v10 if de score for v8 is 1 to 7. Of
course this works: v8 RANGE 1 9 COMMENT LEGAL USE oplcat JUMPS 1 v10 2 v10 3 v10 4 v10 5 v10 6 v10 7 v10 END MUSTENTER END
Is a shorter syntax possible and if so, how?
- Is it possible to make a jump defination that depends on the value
entered in a previous question? For example: After entering the value for variable v5 I want to jump to v8 if the answer on question v3=1.
Kind Regards, Pieter van Groenestijn The Netherlands
EpiData-list mailing list EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list