Bug with using the AsDateTime property when working with fields of the ftDate or ftTime type is fixed

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sugi
Posts: 43
Joined: Wed 07 Dec 2016 02:05

Bug with using the AsDateTime property when working with fields of the ftDate or ftTime type is fixed

Post by sugi » Wed 24 Jan 2018 03:36

Hello,

Can someone give me more detail about this bug on IBDAC ver 6.1.4?
When it is occur? A sample code will be helpful.

Thanks.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Bug with using the AsDateTime property when working with fields of the ftDate or ftTime type is fixed

Post by ViktorV » Wed 24 Jan 2018 09:31

Earlier, when attempting to get the TDateField value as AsTDateTime, errors might occur. For example, if the 'BIRTH' field of the TDateField type :

Code: Select all

var
DefaultBirthdate : TDateTime;
...
DefaultBirthdate := IBCQuery.FieldByName('BIRTH').AsDateTime

Post Reply