A report event executes a specific procedure (an event procedure) when a report prints. To view the report events available, select a report object in the Project Explorer and display the Visual Basic Code window. Select Report in the Object list; report events will appear in the Procedure list.
There are two kinds of report events you’ll work with: start/end events and band events. A Start event always occurs at the beginning of a report and an End event always occurs at the end of a report. Band events occur when a particular section of a report, or a band, prints.
Keep in mind that you only need to use Report Writer to add report and report field objects to VBA. If you don’t modify the report directly using Report Writer, you can use VBA with the original report in Microsoft Dynamics GP.