Subject | Re: How to get data into a table |
---|---|
Author | Eric Handbury |
Post date | 2002-10-29T21:52:39Z |
--- In IBObjects@y..., "Florian Hector" <FHector@w...> wrote:
qryBooks.FieldByName('BuyDate').asString = ...
I always use the OnNewRecord to manually populate fields.
HTH, Eric.
>control into
> How do I get data which is not entered through a data sensitive
> a table (IB_Query). As long as there were persistent fields Icould do
>message saying
> I put this in the AfterInsert event of IB_Query:
> "qryBooks.ParamByName('BuyDate').asString :=
> DateToStr(frmBooklist.dtpBuyDatum.Date)", all I ever get is a
> "Fieldname: BuyDate cannot be found".comfortable as when
>
> I managed to get it to work using the IB_Date but not as
> using DTP so I'd be grateful to know how it can be done.The syntax is:
qryBooks.FieldByName('BuyDate').asString = ...
I always use the OnNewRecord to manually populate fields.
HTH, Eric.