Subject | Re: [IBO] Re: Tclientdataset and master/detail |
---|---|
Author | Costas Droussiotis |
Post date | 2002-06-28T17:27:42Z |
Why not use nested datasets? I have no problem with them plus they are
they way to do master/detail in midas if you want to keep your updates
in the same transaction.
scoluccia2002 wrote:
they way to do master/detail in midas if you want to keep your updates
in the same transaction.
scoluccia2002 wrote:
>
> --- In IBObjects@y..., "scoluccia2002" <Stefano.Coluccia@i...> wrote:
> I've a TClientdataset1 ->provider1 ->TIboquery1 and TClientdataset2 -
> >provider2 ->TIboquery2
> >How can I set the property for a master/detail relation
> >I've set in Tclientdataset2 1) mastersource of TClientdataset1 2)
> >masterfields = ALIAS 3) indexfieldnames = ALIAS
> >I've set in TIboquery1 1) select * from tablemaster
> >I've set in TIboquery2 1)datasource of TIboquery1 2) select * from
> >tabledetail where alias=:alias
>
> I've found the problem, in TIboquery2 not need to set datasource
> because the relation is already in TClientdataset2
>
> But when I open the master and the detail the first time I don't see
> the records of detail until I go to the next record of the master and
> go back I've seen with sqlmonitor that the params Alias is empty.
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/