31 Aug
2011
31 Aug
'11
4:36 a.m.
IF...THEN with different COMMENT LEGAL blocks does work, as shown in the help file for EpiData Entry, but it isn't perfect. This does not work with just LEGAL.
If you have simple sets of legal values, use a series of IF ... THEN blocks as suggested by Suzanna
Jamie
On 2011-08-30, at 5:08 PM, epidata-list@lists.umanitoba.ca wrote:
I'm trying to combine IF... THEN with LEGAL but somehow I'm having problems with it. Basically, what I want to do is to determine valid values for one variable based on the answer given to another variable. In the example below, the two vars are stateid and countyid: If stateid = 1 then countyid could be 01 or 04; if stateid = 2 then countyid could be 02, 03 or 05.