[Gambas-user] Nested data source
Benoît Minisini
g4mba5 at gmail.com
Tue Jul 2 22:33:09 CEST 2019
Le 02/07/2019 à 18:54, Marco Ancillotti a écrit :
> Hi all,
>
> I have a problem using nested data source , if I put a datasource2
> inside a datasource1 ( graphically ) when I change datasource1 filter I
> get no result from datasource2.
>
> Somethink like:
>
> print datasource2.count --> 119 ( or somethink else )
> datasource1.filter = 'cod > 30'
> datasource1.movefirst()
> print datasource2.count --> 0
>
> When I move datasource2 outside datasource1 it work as expected.
>
> Is this a bug ?
>
> thank's in advance,
>
> marco.
>
No, it's by design. A datasource is filtered by the current record of
its parent datasource. Of course, they are supposed to have key fiels in
common.
Regards,
--
Benoît Minisini
More information about the User
mailing list