The BeforeRH event occurs before the report’s report header prints.
report_BeforeRH(SuppressBand As Boolean)
• report – A report object.
• SuppressBand As Boolean – If True, the report header won’t print and no VBA events will occur for it.
Use the BeforeRH event to reference fields in the report header. Items in the report header appear only on the first page of a report. If a page header is also included on the first page, the report header will appear after the page header.
Microsoft Dynamics GP typically uses fields in the report header that you can’t reference from the BeforeRH event; such as system variables that show the page number, user ID and company name, and legend fields that show the record ranges for the report. Microsoft Dynamics GP rarely uses table fields or calculated fields in the report header.