Subject Re: [IBO] KeyLinks and KeyLinksAutoDefine
Author Helen Borrie (TeamIBO)
At 03:34 PM 09-02-02 +0100, Martijn Tonies wrote:

>> If there is no primary key on a table, you'll see DB_KEY in the select
>list...
>
>The problem comes when I select a (single) column _without_ selecting the
>primary key column -> this will result in an 'invalid keylinks entry'
>
>> as to why - no doubt it is to provide a unique row reference.
>
>I understand that :) ... I would also like the DB_KEY in there when the
>above happens...

Well, type it in yourself (or have your code add it).

But AFAIK the primary key doesn't have to be in the output set in order to use it as your KeyLinks; but KeyLinksAutoDefine of course won't work here.


regards,
Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at www.ibobjects.com