In the export function to Stata there is an Option you can chose...you need to chose Stata version 8 (or higher) then variable names do not get truncated to 8 characters. I think that will work Marcel
*********** Marcel Zwahlen Institute of Social and Preventive Medicine University Bern, Switzerland phone ++41-31-631.3554 facsimile ++41-31-631.3520 http://www.ispm.unibe.ch/
-----Ursprüngliche Nachricht----- Von: epidata-list@lists.umanitoba.ca [mailto:epidata-list@lists.umanitoba.ca] Gesendet: Donnerstag, 22. Oktober 2009 08:15 An: epidata-list@lists.umanitoba.ca Betreff: [EpiData-list] Re: EpiData-list Digest, Vol 72, Issue 7
Hi! I have had 2 date related vaiables called "datebase1" and "datebase2" in EpiData. When exported them into STATA, they are showing as "datebase" and "datebase" and both variables contain the same value now which is not correct.
It might be due to the total number of characters for the variable name, but my question is how can I fix it?
Best regards ziad