Page 1 of 1

Using Buttons to set Variable or field value

Posted: Tue Feb 06, 2024 2:49 pm
by m.freddi
Hi, we are trying to use buttons block programming to set a Variable value to a specific one taken from a data source field, we don't find any documentation but we made it work only passing to a variable a specific text value, is it possible to use a datasource value and not a fixed one?
Immagine.png
Immagine.png (21.03 KiB) Viewed 10480 times

The second need would be to use the button to control a combo box selection to set it to choose the item which has the highest value in an associated field, is it possible?
Immagine2.png
Immagine2.png (44.73 KiB) Viewed 10480 times


Thanks a lot

Matteo

Re: Using Buttons to set Variable or field value

Posted: Fri Feb 09, 2024 9:10 am
by Lech Kulikowski
Hello,

Please try to use the Variable with Totals.Max() function as expression.

Thank you.