[Gambas-user] Nested data source

Benoît Minisini g4mba5 at gmail.com
Tue Jul 16 13:33:10 CEST 2019


Hi,

I have added a "IgnoreParent" property in the DataSource control in 
commit 
https://gitlab.com/gambas/gambas/commit/6902893ddb50e6480a63aa2268207241aea021f3.

If that property is set to TRUE, then the DataSource will not filter its 
contents with the primary keys of its parent DataSources. It will act as 
if it was a root DataSource.

Regards,

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.
> 
> 
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 


-- 
Benoît Minisini


More information about the User mailing list