Subject Re: [IBO] DB_Key column
Author Helen Borrie
At 07:50 PM 12-01-01 +0700, you wrote:
>Hello
>
>Get to the point directly.
>A table with 2 fields of primary key, for example "AccountId" and "Id".
>Issue a query "SELECT LName WHERE AccountId='XXXX'";
>The grid shows DB_KEY. RequestLive is false.
>
>If the query is "SELECT AccountId, Id, LName WHERE AccountId='XXXX'" then
>the DB_KEY will not show up.
>
>I don't want this field shows.
>Is there anyway to disable it ?


Yes, use a 2-line Keylinks entry:
first line: ID
2nd line ACCOUNTID

(the Keylinks don't have to be in the dataset)

Helen


All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________