[MSEide-MSEgui-talk] FieldParamLink

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[MSEide-MSEgui-talk] FieldParamLink

mohamed hamza
Hi Martin,

    Is there a  propertie to set fieldparamlink active/inactive?

Regards

Med.

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mse
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] FieldParamLink

mse
Administrator
On Tuesday 04 September 2018 15:38:06 mohamed hamza wrote:
> Hi Martin,
>
>     Is there a  propertie to set fieldparamlink active/inactive?
>
The destdataset will not be refreshed if the source field changes if options
fplo_autorefresh is not set.

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mse
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] FieldParamLink

mse
Administrator
September 2018 17:38:16 Martin Schreiber wrote:
> On Tuesday 04 September 2018 15:38:06 mohamed hamza wrote:
> > Hi Martin,
> >
> >     Is there a  propertie to set fieldparamlink active/inactive?
>
> The destdataset will not be refreshed if the source field changes if
> options fplo_autorefresh is not set.
>
Calling disablecontrols() on the source dataset probably also stops refreshing
(not tested).
 
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] FieldParamLink

mohamed hamza
In reply to this post by mohamed hamza
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 ?


Regards


Med.





 

 

 

  


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mse
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] FieldParamLink

mse
Administrator
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mse
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] FieldParamLink

mse
Administrator
On Wednesday 05 September 2018 07:49:19 Martin Schreiber wrote:
>
> If you want to switch off a tfieldparamlink set "destdataset" to nil. I'll
> add an option "fplo_inactive" and a convenience property "active".
>
git master b980f18c4cf87065e99cf230a2ce7acd974c5a22 has fieldlinkoptionty
flo_disabled, tfieldlink.enabled, fieldparamlinkoptionty fplo_disabled and
tfieldparamlink.enabled.

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] FieldParamLink

mohamed hamza
In reply to this post by mse

It does not a mater, I can change my analysis and have only 2 datasets in same form.

Regards.

Le 05/09/2018 à 06:49, Martin Schreiber a écrit :
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk