Subject Re: [IBO] IB_Date wrong date formatting
Author Dmitry Beloshistov
----- Original Message -----
From: "Hie Joen" <hiejoen@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, December 11, 2001 6:11 PM
Subject: Re: [IBO] IB_Date wrong date formatting

.. or IB_Query.FieldsFormat.Add('MYDATEFIELD=dd/mm/yy');

WBR, Dmitry Beloshistov AKA [-=BDS=-]
e-mail: torin@...


> Try to add these lines in your project source.
>
> SysUtils.ShortDateFormat := 'dd/mm/yy';
> UpdateFormatSettings := False;
>
> HJ
>
> > I've also noticed a problem with IB_Date when display format is:
> > dd/mm/yyyy
> > and edit mask is:
> > 99/99/99
> > since the field is edited ok, and properly formatted when exited, but
once
> re-entered, the first two digits of the year are put on the field instead
of
> the last two. If you leave without edit it again is ok, but if you edit,
for
> instance, the month, the date conversion generates an error.
> > (i.e. --> 10/12/01 is then displayed 10/12/2001. When re-entered the
> IB_Edit shows 10/12/20).
>
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>