Page 1 of 1

Variable not updating when changing parameter in viewer

Posted: Mon Jul 14, 2025 10:32 am
by liamwonka
Hi all,
I’m having some trouble getting a variable to update properly in Stimulsoft (JS version). I’m using a variable that’s set to “Request from User” and linked to a dropdown list. It works the first time, but when I change the selection and reload the report, the output still shows the old value.
I thought reassigning `viewer.report = report` would refresh it, but it seems like the variable isn’t being updated or reset properly. Has anyone else run into this? Is there something I need to do to force it to refresh or clear old data?
Thanks in advance for any tips!
Jamie

Re: Variable not updating when changing parameter in viewer

Posted: Mon Jul 14, 2025 10:37 am
by Lech Kulikowski
Hello,

Do you want the variable to display the previously selected values?

Thank you.