← Back to team overview

dhis2-users team mailing list archive

Re: CSV import

 

Thanks Lars. I haven't been able to reproduce it since, as you note, once a record has been made, it's an update so I would have to go in somehow and delete records, which I don't know how to do. Anyhow, for my purposes, it's working fine, so I don't think we need to investigate further.

Tom

________________________________
From: Lars Helge Øverland [mailto:larshelge@xxxxxxxxx]
Sent: 30 May 2012 18:11
To: Hiatt, Mr Tom (WPRO)
Cc: mhspohr@xxxxxxxxx; dhis2-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Dhis2-users] CSV import


On Wed, May 30, 2012 at 5:22 AM, <hiattt@xxxxxxxxxxxx<mailto:hiattt@xxxxxxxxxxxx>> wrote:
Hi Lars,

Just a quick update. I now tried importing from csv for another 2 past years. The import seems to have gone through without any problems. The only odd thing is in the import summary it says 78 of the 475 records were "updated" rather than "imported" which as far as I know can't be correct, because I haven't stored any data for those years yet in the database. But anyway, they're in an that's the important part!

Thanks,
Tom


That is good.

A data value is considered an update if there exists another data value in the system with the same composite primary id (data element, period, org unit, category option combo). If you can reproduce the problem and want to investigate this further we can chat on gmail/skype.

Lars





====================================================
This message was scanned for viruses with Trend Micro ScanMail, GFI MailSecurity and  GFI MailEssentials by the World Health Organization Regional Office for the Western Pacific.  However, the recipient is advised to scan this e-mail and any attached files for viruses.

Disclaimer:

This e-mail, together with any attachments, is intended for the named recipients only and is confidential. It may also be privileged or otherwise protected by law.

If you have received it in error, please notify the sender immediately by reply e-mail and delete it and any attachments from your system. You may not copy or disclose its contents to anyone.


References