Subject | Re: [IBO] Master-Datail problem |
---|---|
Author | Salva |
Post date | 2001-12-12T12:13:39Z |
Hello,
Everything is done as you tellme, but I think the problem is that bouth
fields, master and detail, have different names. Master-datail works fine,
but inseting a new record in detail table, does not fill IDDEPAR
automatically.
If I add another field named ID to detail table, ID is filled automatically
instead of IDDEPAR.
I thinks it could be a bug.
Salva.
"Helen Borrie" <helebor@...> escribi� en el mensaje
news:5.1.0.14.0.20011212222121.05507a00@......
expect wonderful performance using tables, though.
Everything is done as you tellme, but I think the problem is that bouth
fields, master and detail, have different names. Master-datail works fine,
but inseting a new record in detail table, does not fill IDDEPAR
automatically.
If I add another field named ID to detail table, ID is filled automatically
instead of IDDEPAR.
I thinks it could be a bug.
Salva.
"Helen Borrie" <helebor@...> escribi� en el mensaje
news:5.1.0.14.0.20011212222121.05507a00@......
> At 11:55 AM 12-12-01 +0100, you wrote:use
> >Hello, I'm newbie with IBO and IB.
> >
> >I'm traying to make master-datail relationship with to tables and I MUST
> >TIBOTABLEs.VCL TTable - read the Delphi help for more detailed instructions. Don't
>
> Then master-detail is very simple to implement - it is exactly like the
expect wonderful performance using tables, though.
>sets.
>
> >If I use IBX components it works (tables infact dont't have any "real"
> >realation between them or foreign key). They are related this way:
> >USUARIOS.IDDEPAR=DEPAR.ID (detail-master).
>
> The important things to do are:
>
> 1. Make sure you have correct KeyLinks for both the master and the detail
> 2. Set the MasterSource property of the detail set to the TDatasource youhave connected to the master set.
> 3. Set the MasterFields property to the column (or columns) that formsthe links, having the detail's column on the left, e.g. IDDEPAR=ID
>___________________________________________________________________________
> That should do it.
>
> Helen
>
>
>
>
>
> IB Objects - direct, complete, custom connectivity to Firebird orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>