Form events Functions used to manage business relation to form action events. dlgEvent_action_BeforeOpeningTheFormFunction called by relation event before opening the form.dlgEvent_action_AfterClosingTheFormFunction called by relation event after closing the form.dlgEvent_RelationName_BeforeRunningReportFunction called to configure the report.dlgEvent_relationName_AfterRunningReportFunction called to perform post operations after the report is run.