Form update on button click inside form

Yes and it’s easy. No logic required. You can set the button NOT to close the form when it’s clicked. Then when it’s clicked it runs what’s in the Create Form’s Do block. In that block you check which button was clicked, do the calculation, and assign the result to txt4’s variable. As long as that variable is set to In/Out the form will update when the value of the variable updates.

This is a similar exercise that will help.

Note that in step 2, they missed a step. They didn’t put variables into the Value columns - you must do this or it won’t work.

1 Like