Subject Re: [IBO] Two or more tables...
Author Marcelo Machado
Dear Helen,

Yes, but it doesn't still work...


Helen Borrie <helebor@...> wrote:
At 10:13 PM 3/12/2005 -0800, you wrote:

>Marcelo Machado <machado6655@...> wrote: Sorry...
> Well...
> Example:
> I have...
> [table PACIENTE with a codigo_PK]
> [table PATOLOGIA with a chave_PK and codigo_FK ( codigo_FK = codigo_PK
> of table PACIENTE)]
> 1 tib_connection
> 1 tib_transaction
> 1 PACIENTEtib_query and 1 PACIENTEtib_datasource (points to table PACIENTE)
> 1 PATOLOGIAtib_query and 1 PATOLOGIAtib_datasource (points to table
> I put the fields of PACIENTEtib_datasource (datasource control
> generator) and
> the fields of PATOLOGIAtib_datasource (datasource control generator)
> in the aplication;
> ( in the masterlinks of PATOLOGIAtib_query i put
> PATOLOGIA.codigo_FK=PACIENTE.codigo_PK )
> When i execute the aplication, only the fields of table PACIENTE works.

You also have to set the Mastersource property of PATALOGIA - select the
datasource that points to the dataset PACIENTE.

Make sure you also set correct Keylinks for each dataset.


IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________ - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Membership database software Database mortgage software Pda database software Database management software Database marketing software Online database software


Visit your group "IBObjects" on the web.

To unsubscribe from this group, send an email to:

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Yahoo! Personals
Skip the bars and set-ups and start using Yahoo! Personals for free

[Non-text portions of this message have been removed]