For something like this have you considered using a button (Button1) and adding your patch code to that? Yprou can then set Visible on the button to No and then anytime you want to run the patch function instead you write Select(Button1) that will then run your patch function.
For example on a hidden screen you have a Button1 with onSelect property set to:
Then anytime you want to execute that code on another screen you just run Select(Button1).
Hope that helps!
Asad
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.