[EpiData-list] Create one variable from two or more variables

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Fri Nov 17 14:59:22 CST 2006


Is there a way to automatically create a variable from
2-3 entered variables?
For example: I have
var1 ######
var2 ##
var3 #

I would like epidata entry to automatically populate a
new variable for each case, where the value would be
var1, var2, var3 appended with each other:

var4  var1var2var3   

I tried creating a data check command:

~~~~~~~~~~~~~~~~~~~~~~
var4
  MUSTENTER
  AFTER ENTRY
    var4="var1" + string(var1) + "var2" + string(var2)
      + "var3" + string(var3)
  END
END
~~~~~~~~~~~~~~~~~~~~~~~~~
But that did NOT work.
Thanks so much
J.H.





 
____________________________________________________________________________________
Sponsored Link

Mortgage rates near 39yr lows. 
$510k for $1,698/mo. Calculate new payment! 
www.LowerMyBills.com/lre


More information about the EpiData-list mailing list