Subject Re: [IBO] can't find a property in TIBOTable
Author Helen Borrie
At 12:37 PM 23/07/2003 +0000, you wrote:
>I'm looking for the property UpdateMode of TTable in TIBOTable but I
>can't find it.. Is it missing in TIBOTable?

Yes -- it's a BDE-thing designed for use with xBase tables in cached
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