Subject Re: [IBO] rdb$db_key in a select
> with dmMain, quGeneral,Sql do
> begin
> Clear;
> Add('select RDB$DB_KEY, PRD_CODE from products');
> Prepare;
> Open;
> end;

If PRD_CODE is your primary key on products, then DB_KEY
will not be added and you simply use the PRD_CODE value -
IBO takes care of the rest.

Why do you think that you want to use DB_KEY?

Lester Caine
L.S.Caine Electronic Services