Subject | How to get data into a table |
---|---|
Author | Florian Hector |
Post date | 2002-10-29T21:18:18Z |
Hello all,
I just started using IBO and am still struggling with some of its
functionalities:
How do I get data which is not entered through a data sensitive control into
a table (IB_Query). As long as there were persistent fields I could do
something like "dsBooksBuyDate.Value := dtpBuyDate.Date", where dsBooks is a
IBX dataset, BuyDate a field and dtpBuyDate just a simple DateTimePicker.
With IBO, there doesn't seem to be persistent fields.
I put this in the AfterInsert event of IB_Query:
"qryBooks.ParamByName('BuyDate').asString :=
DateToStr(frmBooklist.dtpBuyDatum.Date)", all I ever get is a message saying
"Fieldname: BuyDate cannot be found".
I managed to get it to work using the IB_Date but not as comfortable as when
using DTP so I'd be grateful to know how it can be done.
Florian
I just started using IBO and am still struggling with some of its
functionalities:
How do I get data which is not entered through a data sensitive control into
a table (IB_Query). As long as there were persistent fields I could do
something like "dsBooksBuyDate.Value := dtpBuyDate.Date", where dsBooks is a
IBX dataset, BuyDate a field and dtpBuyDate just a simple DateTimePicker.
With IBO, there doesn't seem to be persistent fields.
I put this in the AfterInsert event of IB_Query:
"qryBooks.ParamByName('BuyDate').asString :=
DateToStr(frmBooklist.dtpBuyDatum.Date)", all I ever get is a message saying
"Fieldname: BuyDate cannot be found".
I managed to get it to work using the IB_Date but not as comfortable as when
using DTP so I'd be grateful to know how it can be done.
Florian