Richard Spitz <Richard.Spitz@ana.med.uni-muenchen.de> wrote:
>Hi Informixers,
>
>I have a 4GL application where in one form, a variable of type date
>is displayed in a screen array in the format "DD.MM". This is achieved
>with a "USING" directive in the screen definition.
>
>The program has been in use for over a year, but now I found out
>that the program crashes very often when the user navigates inside
>the screen array using the PgUp or PgDown keys. Everything works
>fine when only the CursorUp and CursorDown keys are used.
>
>The error displayed is -1212: Date conversion format must contain a
>month, day, and year component.
>
>In the Informix product defect database, I found #96081: DATES DO
>NOT DISPLAY PROPERLY WHEN UDING MM/YY FORMAT. No version is displayed
>where this defect is fixed.
>
>Could this be related? I really don't want the year displayed in
>this field, all I need are day and month! What can I do?
Since you use the word 'display' as opposed to input or something similar, I'm assuming this date is not one the user supplies. If all else fails you can create a char(5) variable and put your values into it for display in the form as dd.mm.
carlos
Currently on hiatus from unemployment.
----------------------
Do you do Linux? :)
Get your FREE @linuxstart.com email address at: http://www.linuxstart.com