Occurs directly after the Report System finishes processing a report band.
PROCEDURE Object.AfterBand LPARAMETERS nBandObjCode, nFRXRecNo
Visual FoxPro passes the AfterBand event parameters in the following order:
Integer data type, specifying the type of band, as stored in the ObjCode field of the report or label definition file (frx or lbx).
Recognized numeric values for nBandObjCode are documented in the 60FRX.DBF table in the FILESPEC directory, as follows:
For more information about 60FRX, see Table Structures of Table Files (.dbc, .frx, .lbx, .mnx, .pjx, .scx, .vcx).
- Integer data type, specifying the record number in the report or label definition file (frx or lbx) describing the layout element being rendered.
Applies To: ReportListener Object.
For each band in the report, the ReportListener triggers the BeforeBand event before the Report Engine runs any code in the OnEntry expression. It triggers the AfterBand event after any OnExit code runs.
|Previous to running OnExit code and triggering the AfterBand event for a Detail or Detail Footer band, the Report Engine has moved the record pointer forward to the next record in the report scope. For information about the order of events in a report run, see Understanding Visual FoxPro Object-Assisted Reporting.|