Subject Re: Cant Insert DateTime to TimeStamp Field (FireBird)
Author Adam
=================================================================
> Hi Adam,
>
> Thanks for ur Advice
>
> As am using Ado There is no Property like 'AsDateTime'-
> Its working fine When I Changed the TIMESTAMP To DATE DataType
>
> But TIMESTAMP Have Still Problems
>

.AsDateTime is a property of TField. I have checked and

TADOQuery.FieldByName('whatever').AsDateTime

does work.

FieldByName is a function (I believe from TDataset) that returns a
TField, but given I was able to do this from Delphi, you must have
made a spelling mistake if it didn't work.

Adam