To run a macro when the Current event occurs, set the OnCurrent property to the name of the macro.
You can use a Current macro to display a message or synchronize records in another form related to the current record. For example, when a customer record becomes current, a macro can display the customer’s previous order. When a supplier record is current, the macro can display the products manufactured by the supplier in a Suppliers form.
You can’t use the CancelEvent action in a Current macro. However, you can use the GoToRecord action to move the focus to a different record.
Current Event — Event Procedures.