Subject | IB_cursor and Append |
---|---|
Author | Fabio Bot <fabiobot@yahoo.com.br> |
Post date | 2003-01-31T13:14:55Z |
Only a doubt about IB_Cursor and IB_Query.
Why IB_Cursor closes dataset when the Append method is called?
with IB_Cursor do
begin
if not Prepared then
Prepare;
if not IB_Transaction.InTransaction then
IB_Transaction.StartTransaction;
First;
if Eof then
//*** here Active = True
Append;
//*** here Active = False
...
Meaning that the detail tables doesn't work on inserts.
Why it doesn't work like IB_Query that let dataset opened on insert
state?
D5 + IBO 4.2Ib + (IB_Cursor and IB_Query with RequestLive = True).
Thanks,
Fábio.
Why IB_Cursor closes dataset when the Append method is called?
with IB_Cursor do
begin
if not Prepared then
Prepare;
if not IB_Transaction.InTransaction then
IB_Transaction.StartTransaction;
First;
if Eof then
//*** here Active = True
Append;
//*** here Active = False
...
Meaning that the detail tables doesn't work on inserts.
Why it doesn't work like IB_Query that let dataset opened on insert
state?
D5 + IBO 4.2Ib + (IB_Cursor and IB_Query with RequestLive = True).
Thanks,
Fábio.