Page 1 of 1

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

Posted: Wed 24 Jan 2018 03:36
by sugi
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.

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

Posted: Wed 24 Jan 2018 09:31
by ViktorV
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