Using Buttons to set Variable or field value

Stimulsoft Dashboards.WEB discussion
Post Reply
m.freddi
Posts: 6
Joined: Wed Mar 29, 2023 1:29 pm

Using Buttons to set Variable or field value

Post 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 206 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 206 times


Thanks a lot

Matteo
Attachments
Report (1).mrt
(15.79 KiB) Downloaded 30 times
Lech Kulikowski
Posts: 6092
Joined: Tue Mar 20, 2018 5:34 am

Re: Using Buttons to set Variable or field value

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply