EventOnBeforeTransferDataEaxGrid (Args: IUiPrxExportCancelEventArgs);
Args. The parameter that enables the user to work with event parameters.
The EventOnBeforeTransferDataEaxGrid method implements the event that occurs before saving changed values of the analytical data area.
The method enables to redefine the system event that occurs after the ReportEvents.OnBeforeTransferDataEaxGrid event.
Executing the example requires that the repository contains a regular report with connected unit. The connected unit and the EventsClass class should be specified as an event handler.
Add links to the Express, Report, Ui system assemblies.
Class EventsClass: ReportEvents
Public Sub EventOnBeforeTransferDataEaxGrid(Args: IUiPrxEaxGridCancelEventArgs);
// The EventOnBeforeTransferDataEaxGrid event handling
Begin
WinApplication.InformationBox("Analytical area data was changed");
End Sub EventOnBeforeTransferDataEaxGrid;
// The EventOnAfterTransferDataEaxGrid event handling
Public Sub EventOnAfterTransferDataEaxGrid(Args: IUiPrxEaxGridEventArgs);
Begin
WinApplication.InformationBox("Analytical area data changes were successfully saved");
End Sub EventOnAfterTransferDataEaxGrid;
End Class EventsClass;
After executing the example, after the data modification in regular report analytical area, information messages will be displayed before and after changes saving.
See. also: