[EpiData-list] Numeric Range for field (two ranges)

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Wed Nov 26 13:50:31 CST 2008


1. Numeric Range for field (epidata-list at lists.umanitoba.ca)
> Hello,
> In the .chk file, I want to define a range for a numeric field (v1 ###) as follows: 100-120, 200-250
>   
Easiest solution:
v1
range 100 250
  after entry
     if (v1 > 120) and (v1 < 200) then
         help "Range allowed: 100-120 or 200-250"
         goto v1
     endif
   end
end

Regarding the other question yesterday on loss of date we need to know more.

regards
Jens Lauritsen
EpiData Association


More information about the EpiData-list mailing list