Manager program.

FS#171 - Fault with export to STATA 13, 14

Attached to Project: Manager
Opened by N Verlander (nverlander) - Tuesday, 09 May 2017, 12:34 GMT
Last edited by Torsten Bonde Christiansen (torstenchr) - Thursday, 03 August 2017, 08:46 GMT
Task Type Bug Report
Category Functionality
Status Closed
Assigned To Torsten Bonde Christiansen (torstenchr)
Operating System Windows
Severity High
Priority Normal
Reported Version 4.0
Due in Version 4.2.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


EpiData Manager: (2017/05/09 - 13:16:18)
Program Version: r1393
Core version: r1360
FPC Version: 3.0.0
Platform: x86_64-Win64

STATA versions 13 and 14 of attached dataset gives the following error message when attempting to read into STATA v14.2 (8 core single user): ".dta file corrupt
The marker </data> was not found in the file where it was expected to be. This means
that the file was written incorrectly or that the file has subsequently become damaged."

The downside to using lower versions of STATA is that memo fields (which are a great idea) are not always correctly exported (missing data throws up 31 December 1959 and so variable type is changed if no data for any record in that field). A work round is to export to csv, open in Excel, save file as an Excel file. This resulting file can then be imported into STATA but downside is that all the labels are lost so really do want to export to a high enough version so that all fields are correctly exported.
This task depends upon

Closed by  Torsten Bonde Christiansen (torstenchr)
Thursday, 03 August 2017, 08:46 GMT
Reason for closing:  Fixed
Comment by Torsten Bonde Christiansen (torstenchr) - Thursday, 03 August 2017, 08:46 GMT
  • Field changed: Due in Version (Undecided → 4.2.1)
  • Field changed: Percent Complete (0% → 100%)
Fixed in CORE rev. 1416