form field sizes for custom formated data

"James B. Byrne via Aubit4gl-discuss" <[email protected]> Tue, 9 Mar 2021 15:08:45 -0500
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
I am working on a screen that displays a date.  If I do not specify a format
then I see this result:  Order Date: [03/09/2021 ]

If I change the format to "yyyy-mm-dd" then I get this form compile error:

|________________________________________^
| Error at line 58, character 42
| FORMAT string is not the same size as the field (f003)

If I shorten the f003 field by one character then it compiles. [2021-03-09]


However, the reformatted date takes exactly the same display space as the
default.  Why is putting a date display smaller than the display field
considered an error?

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3