Events for cWinReport2
View event list in hierarchical order.
| Name | Description | Defining Class |
|---|---|---|
| Assign_Report_Channel | Makes the current output channel the channel number represented by the report_channel property | Report |
| Body | Called once for every record selected for the report to provide processing for record data (if any) not used for subheaders and subtotals | Report |
| Construct_Object | Object constructor. | cObject |
| Destroy_Object | Sent when an object is about to be destroyed The Destroy_Object event is sent to an object when it is about to be destroyed. | cObject |
| End_Construct_Object | End of object constructor. | cObject |
| Ending_Main_Report | Augmented to print/preview the report if AutoOutput_State is set to true | BasicReport |
| Ending_Report | This handler is called at the end of every report Ending_report does nothing by default, and is intended for override. | Report |
| Error_Report | Sent whenever an error is generated When a report is started, the main report (the outermost of a group of nested reports) is assigned as the error object. | BasicReport |
| Final_FormFeed | Report | |
| OnConstrain | Used to setup the conditions for filtering the records from the main table in the report | Report |
| OnError | Provided as a hook to handle custom error reporting OnError does nothing by default and is provided as a hook to handle custom error reporting. | BasicReport |
| Page_Bottom | The last thing printed on every page Page_bottom is the last thing printed on every page. | Report |
| Page_Footer | Printed after page_total on every page except the last page Page_footer is printed after page_total on every page except the last page. | Report |
| Page_Header | Called after page_top on every new page Page_Header is called after Page_Top on every page. | Report |
| Page_Title | Called on every new page after report_header or page_header Page_title is called on every new page after report_header or page_header. | Report |
| Page_Top | Called first at the top of each new page Page_top is called first at the top of each new page. | Report |
| Page_Total | Called on every new page and is printed as the first part of a page break at the bottom of each page | Report |
| Relate_Main_File | Called during find_rec and read_by_recnum if a record has been found Relate_main_file is called during find_rec and read_by_recnum if a record has been found. | Report |
| Report_Footer | Printed after page_total on the last page of the report Report_footer is printed after page_total on the last page of the report. | Report |
| Report_Header | Called only on the first page of the report, after page_top Report_header is called only on the first page of the report, after page_top. | Report |
| Report_Interrupt | Called when the status panel's Cancel button has been pressed Report_interrupt is called when the status panel's Cancel button has been pressed. | BasicReport |
| Selection | Validates a record Selection is used to validate a record. | Report |
| Starting_Main_Report | Called only if the current report is an outer report | BasicReport |
| Starting_Report | Called at the start of every report Starting_report does nothing by default, and is intended for override. | Report |
| SubHeader1..n | Called for every break level (n) for which you define a subHeader procedure section in your program | Report |
| SubHeader_Init1..n | Called for every break level (n) for which you define a SubHeader_init1..n procedure section in your program | Report |
| SubTotal1..n | Called for every break level (n) for which you define a subTotal procedure section in your program | Report |
| Total | Called once at the end of a report after the final subtotals are output Total is called once at the end of a report after the final subtotals are output. | Report |