Hi
I have a variable field defined in FormText
TAB035DATA num(10)
{Position =[9, 16], fieldLen = 10, validationOrder = 1,
color = defaultColor, highlight = noHighlight, align = right,
intensity = normalIntensity, protect = Protect,
dateFormat = "dd/MM/yyyy", fillCharacter = nullFill, ZeroFormat = yes, numericSeparator = no, sign = none};
the statement
TAB035DATA = 28032016; // ddMMyyyy
I got an error when Debug
EGL0102E The value 28032016 of type string can not be converted to date type.
and if I reverse the date value to
TAB035DATA = 20160328; // yyyyMMdd
It Works !
The question is:
The internal value is always:
"00yyyyMMdd" to form field defined numeric edit
or
"yyyy/MM/dd" to form field defined no numeric edit
Is it true ? as EGL Works ?
When the form field has dateFormat property setted
Hsieh