Subject | Re: [IBO] Master-detail with TIBOQuery |
---|---|
Author | Helen Borrie |
Post date | 2005-11-08T13:35:53Z |
At 10:28 AM 8/11/2005 -0300, you wrote:
of the detail set to point to the TDatasource of the master set. Provided
the foreign key of the detail table matches the primary key of the master
set by name and type, that is all you need to do.
and the master's PK do not match.
Helen
>Hi,It is just the same as TQuery in this respect. Use the Datasource property
>
>Is there any hide property in TIBOQuery to set master-detail? With
>TIB_Query I use masterSource + masterLinks but I didn't find these
>properties in TIBOQuery.
of the detail set to point to the TDatasource of the master set. Provided
the foreign key of the detail table matches the primary key of the master
set by name and type, that is all you need to do.
>Should I use "where" clause to do this?You will have to use a where clause only if the names of the detail's FK
and the master's PK do not match.
Helen