Subject Re: [IBO] How to synchronize 3 grids (N-M relation) ?
Author pepmallorca
> OK, here's what I propose:
>
> DatasetA (master 1):
> SELECT idA, desa FROM TABLA
> Has DatasourceA.
>
> DatasetB (master 2):
> SELECT idB, desb FROM TABLB
> Has DatasourceB.
>
> DatasetC (detail):
> SELECT idc, a, b from TLBC where a=:paramA and b=:paramB
> Has DatasourceC.
>
> Call a procedure in the AfterScroll events of both DatasetA and
DatasetB: ........


Hello Helen:

I adapted your program (with DataSet) with my original problem with
IB_Query, with a little differences. I don't get it, but don't
worry... finally I can avoid this N-M relation, and I can convert my
problem in a more simple master-detail.

Otherwise, I think I understand your idea, and I think it's good and
original (you simulate one parameter like the master, and the other
like a simple parameter, changing between the 2 'masters', depending
of the the master that it's doing the 'scroll')

If I need to turn to the problem, I studied it more in detail,


Thank you,

José,