Variable Change (Magic xpa 3.x)
Variable Change handlers are executed each the time the user browses the records. The handler is Neutral; however, it is recommended not to use server-side operations in it, to avoid accessing the server every time the variable is changed. There are two phases to Variable Change: the recomputed phase and the control change phase. So if a server access is made, as in this example, the access will happen twice. Therefore, only client-side or neutral operations should be used.