BetoValle Messages: 204 Registered: September 2020 Location: Brasil Valinhos SP
Experienced Member
another related issue:
the editfield fld1 with "SetConvert" fld1.SetConvert(DateIntConvert())
is not receiving data according to the test code below:
void pkTestando:: onClick()
{
Date d = Date ( 2020, 1, 1 );
try
{
Value s = Format ( d );
LOG ( "data " << s );
fld1.SetData ( d );
}
catch ( ValueTypeError )
{
LOG ( "Failed Value conversion" );
}
}
but if he decides to remove condition "SetConvert" the field receives content normally.
What happens ?? or in the condition using "SetCovert" how do I have to write the code?