Thanx Lars for the quick help.
 



________________________________



Muhire Andrew

HMIS/Ministry of Health
andrew.muh...@moh.gov.rw
God is my provider.



________________________________
From: Lars Helge Øverland <larshe...@gmail.com>
To: Muhire Andrew <muhireand...@yahoo.com>
Cc: dhis2-d...@lists.launchpad.net; dhis2-users@lists.launchpad.net
Sent: Monday, September 12, 2011 3:51 PM
Subject: Re: Dear Dhis2 users how can i delete?

Hi Andrew,

you need to remove the data with SQL in the database. Run:

delete from datavalue_audit where dataelementid=<id>;
delete from datavalue where dataelementid=<id>;

and replace <id> with the dataelementid of the one you want to remove.

You can then go ahead and delete the data element in the user interface.



Lars
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to