Subject Re: [IBO] KeyLinks and KeyLinksAutoDefine
Author Helen Borrie
At 02:13 PM 11-10-02 +0000, you wrote:
>I'm converting an application from BDE and am a bit confused about
>the use of KeyLinks and KeyLinksAutoDefine.
>
>By default, all TIBOQueries have KeyLinksAutoDefine set to true.
>Should I leave it at this or set it to False in all cases, setting
>KeyLinks manually.

Leave it true for all queries involving one table. For joined datasets,
set it false and define the KeyLinks explicitly.


>Are KeyLinks only required if the TIBOQuery is to be editable, i.e.
>RequestLive is set to True?

*Required* yes; but recommended also for read-only datasets if you are
going to be doing searches involving the primary key (or unique key in the
case of joined sets). Basically, having KeyLinks is desirable for
performance and for the management of datasets between the buffers and the
server.

Helen