On Tuesday 04 September 2018 21:05:34 mohamed hamza wrote:
> If there are  links   between   (dataset1 and dataset2)  as plink1
>                                       and ( dataset1 and dataset3)     as
> plink2 and ( dataset2 and dataset3)     as plink3
>
> ( with dataset3.sql := select * from t3 where $(s)=:n   where  s  is
> variable substitution  depending on which master is selected   ( dataset1
> or dataset 2 )
>
> s:='key1' if master_dataset is dataset1 else s:='key2'
>
>  I want to know if fieldlink parameters are considered correctly ?
>
Looks a little bit suspect because there are two paths from dataset1 to 
dataset3:
dataset1 -> plink2 -> dataset3 and 
dataset1 -> plink1 -> dataset2 -> plink3 -> dataset3.
I don't know if it works. I expect that dataset3 will be refreshed twice if 
dataset1 changes.
Maybe it is better to refresh in code where one has full control.

If you want to switch off a tfieldparamlink set "destdataset" to nil. I'll add 
an option "fplo_inactive" and a convenience property "active".

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to