--- 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.