Subject Re: [IBO] KeyLinks AutoDefine
Author Jason Wharton
What do you mean by ID_KEY. There isn't such a thing in your table.
It should pick up your primary key column.
If it isn't send me a sample privately.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Artur Anjos" <arsoft@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, October 30, 2001 4:12 PM
Subject: Re: [IBO] KeyLinks AutoDefine


> Jason, I have use it with no luck.
>
> When I use KeyFields AutoDefined, and do a simple select in a table
choosing the table Primary Key, I thougth that IBO will detect a Primary Key
and use it, instead of cretating the field ID_KEY. Am I rigth?
>
> Example:
>
> Table (
> A_ID PrimaryKey
> A_XX OtherField
> )
>
> If the Query is SELECT A_ID,A_XX FROM TABLE what will IBO do when
KeyLinksAutoDefined=True? Generate a Field ID_KEY or use A_ID as primary
key?
>
> In this small example I have ID_KEY in the KeyFields array, after Prepare.
>
> Artur
>