Subject | Re: [IBO] can't find a property in TIBOTable |
---|---|
Author | Helen Borrie |
Post date | 2003-07-23T13:03:33Z |
At 12:37 PM 23/07/2003 +0000, you wrote:
updates. It's not implemented in IBO.
Can you explain what you used it for with TTable?
IBO maintains buffers of the unique key columns for each row in the row
buffer. You effectively get upWhereKeyOnly mode for all positioned
updates. You must ensure that the KeyLinks property is properly set. For
TIBOTable, you only have to have KeyLinksAutodefine true and IBO will build
the KeyFields buffer using the primary key.
The same applies to TIBOQuery, as long as it has no joins and all of the
columns of the primary key are present. (For other queries, you need to
set KeyLinks automatically.)
Helen
>I'm looking for the property UpdateMode of TTable in TIBOTable but IYes -- it's a BDE-thing designed for use with xBase tables in cached
>can't find it.. Is it missing in TIBOTable?
updates. It's not implemented in IBO.
Can you explain what you used it for with TTable?
IBO maintains buffers of the unique key columns for each row in the row
buffer. You effectively get upWhereKeyOnly mode for all positioned
updates. You must ensure that the KeyLinks property is properly set. For
TIBOTable, you only have to have KeyLinksAutodefine true and IBO will build
the KeyFields buffer using the primary key.
The same applies to TIBOQuery, as long as it has no joins and all of the
columns of the primary key are present. (For other queries, you need to
set KeyLinks automatically.)
Helen