BetoValle Messages: 204 Registered: September 2020 Location: Brasil Valinhos SP
Experienced Member
Well, I understood question # 2 only (you can disregard it). I was considering that the internal routines would do the conversion. But not. So I understand that when using a field and if associated with SetConvert in the numerical case, when shooting a value for this field in code, I will have to add a corresponding number between the difference of the desired date and the first of January 1970.
Question 1 remains and I believe that only you can clarify the reason for the Format function within another Format of the custom class, it generates an exception. Since the objective in this situation would be the instant that the value resulting from the SetConvert Format was automatically generated, internally the user could evaluate a String of the resulting date.
another problem that i see is that your example "SQLApp in Assembly examples", should not accept typing characters immediately after a valid date (i.e. 01/01/2020abcdef ...)
fld borrowed!
In the code I attached in the previous post i put in filter this content:
if (chr> 57)
{
return false;
}
and in layout MaxChar = 10