I can't swear this technique will work in all forms, but it works in Sales Transaction Entry. (3/5/2018: and PM Transaction Entry)
We often need to make change to data in a form, and we need to do it before the form saves or after it populates with data.
This technique will show you how.