Subject | Re: Cant Insert DateTime to TimeStamp Field (FireBird) |
---|---|
Author | Adam |
Post date | 2005-11-12T10:27:53Z |
=================================================================
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
> Hi Adam,.AsDateTime is a property of TField. I have checked and
>
> 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
>
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