I have this on my form in an unbound control... it works fine, but the answer this provides needs to be in a bound control... where in the control would I put this?
You cannot put the expression into the control and keep it as a bound control.
You need to look for an event, either the afterupdate event for another control or the beforeupdate event for the form itself and use code to set the value.
The control should recalculate whenever you change one of the values in the other fields. If not, put something like me.YourControlName.recalculate in the AfterUpdate event of the other controls.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.