Dear Timothy Kiyemba,

Thanks for your help.

The point is the domain type of my DE is "tracker" so if it has "text"
value type I can't set aggregation type!

Best,

Phi



On Mon, Jun 12, 2017 at 10:40 AM, timothy kiyemba <tkiye...@gmail.com>
wrote:

> Change the value type for your sex variable to text. Enter text values for
> the name and code for the option values e.g. Female for name and Female for
> code then for the second value also enter male for name and male for code.
>
> Timothy
> ------------------------------
> From: Trần Quý Phi <p...@cdytqn.edu.vn>
> Sent: ‎12/‎06/‎2017 05:01
> To: dhis2-users@lists.launchpad.net
> Subject: [Dhis2-users] Value type error with option set
>
> Dear all,
>
> - I have a DE "Sex" with Number value type. Domain type: Tracker
>
> - I have a option set "SexOpt" with Number value type too. It has options:
> Name "Male" Code 1 and Name "Female" code 2.
>
> - I set "SexOpt" for DE "Sex".
>
> When I enter data for an Entity in program an error occurs: Value must be
> a number: Male (or Female) if I choose any option in list (or radio
> button).
>
> Please help me.
>
> Thanks.
>
> --------------------------
> Bs. Trần Quý Phi
> Trường Cao đẳng Y tế Quảng Nam
> 03 Nguyễn Du
> 0914 152 742
>



-- 
Bs. Trần Quý Phi
Trường Cao đẳng Y tế Quảng Nam
03 Nguyễn Du
0914 152 742
_______________________________________________
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