Subject | Refresh IboTable ??? |
---|---|
Author | sassicaia70@hotmail.com |
Post date | 2001-08-31T10:02:20Z |
Hi, All
I have a problem with Refresh in a IBOTable
I use IBO 4.2 Ed because I would like convert my application
from DBF to IBO.
I use IBOTable with PessimisticLock = TRUE
I have one DbGrid1 with IboTable1 and DbGrid2 with IboTable2
IboTable1.Tablename := 'CLIDEST';
IboTable1.PessimisticLock := TRUE;
IboTable1.Open;
//
IboTable2.Tablename := 'CLIDEST';
IboTable2.PessimisticLock := TRUE;
IboTable2.Open;
//
IboTable1.Edit;
IboTable1.FieldByName('COD').AsString := '100';
IboTable1.Post;
//
Now in DbGrid1 (IboTable1) I see record with value 100 and
in DbGrid2 (IboTable2) I see the old value ex. 99.
My question is: Is possible refresh the tables ( IboTable1,IboTable2)
without call IboTable1.Refresh and IboTable2.Refresh ?
I would like that the refresh table in automatically call.
(LiveUpdate)
How is possible ???
Thank you.
Roberto Govoni
I have a problem with Refresh in a IBOTable
I use IBO 4.2 Ed because I would like convert my application
from DBF to IBO.
I use IBOTable with PessimisticLock = TRUE
I have one DbGrid1 with IboTable1 and DbGrid2 with IboTable2
IboTable1.Tablename := 'CLIDEST';
IboTable1.PessimisticLock := TRUE;
IboTable1.Open;
//
IboTable2.Tablename := 'CLIDEST';
IboTable2.PessimisticLock := TRUE;
IboTable2.Open;
//
IboTable1.Edit;
IboTable1.FieldByName('COD').AsString := '100';
IboTable1.Post;
//
Now in DbGrid1 (IboTable1) I see record with value 100 and
in DbGrid2 (IboTable2) I see the old value ex. 99.
My question is: Is possible refresh the tables ( IboTable1,IboTable2)
without call IboTable1.Refresh and IboTable2.Refresh ?
I would like that the refresh table in automatically call.
(LiveUpdate)
How is possible ???
Thank you.
Roberto Govoni