Can I change dollars with setvalue?

Discussion about recent product features & solutions!
6 posts • Page 1 of 1
eliezer
Posts:4
Joined: Wed May 10, 2017 7:58 am

Can I change dollars with setvalue?

Post by eliezer »

mapping mdollars;
getValue("panel_A","dollars",mdollars);


In this way I got the value of $ DP from panel_A.
On the contrary,
is it possible to change the $ DP value of panel_A to setvalue?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Can I change dollars with setvalue?

Post by leoknipp »

Can you please describe in detail what you want to do.
A $ parameter is passed to a panel when a panel is opened. Afterwards changing the $ parameter is not possible.

Best Regards
Leopold Knipp
Senior Support Specialist

eliezer
Posts:4
Joined: Wed May 10, 2017 7:58 am

Re: Can I change dollars with setvalue?

Post by eliezer »

After opening the panel. Thank you for answer. Have a nice day :D

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Can I change dollars with setvalue?

Post by leoknipp »

As described changing the $ parameter is not possible after opening the panel.
You can assign the $ parameter to a global variable and change the variable is there is a need to do it.

Best Regards
Leopold Knipp
Senior Support Specialist

fbrauge
Posts:1
Joined: Tue Feb 05, 2019 4:42 pm

Re: Can I change dollars with setvalue?

Post by fbrauge »

How do you assign global variable to the $Parameter?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Can I change dollars with setvalue?

Post by leoknipp »

When the panel is opened already you cannot change the value for $ parameter.
In my last posting I have written that you can assign the value of a $ parameter to global variable. The global variable is then used in the scripts instead of the $ parameter.

Best Regards
Leopold Knipp
Senior Support Specialist

6 posts • Page 1 of 1