To run a macro when the Dirty event occurs, set the OnDirty property to the name of the macro.
Remarks
You can use a Dirty macro to check to see if the user has permission to change this record. A message can be displayed to input the user's id for validation.