Code Explorer Module View

See Also      Locator

Previous  Top  Next

The Module view of the Code Explorer is displayed by right-clicking the left pane and selecting Module from the context menu.

_bm20

This view displays items which are visible to all event handlers of the report:

_bm0   Declarations – These are variables and constants that are globally visible throughout the report.  
 
_bm0   Events – These are, in essence, the report's events. In the case where the preview window is displayed, OnCreate and OnDestroy fire when the window is opened and closed, respectively. This is different from Report.BeforePrint and AfterPrint in that those methods will fire each time Report.Print is called. OnCreate and OnDestroy are good places for initialization and finalization code such as creating and freeing objects and initializing variables.  
 
_bm0   Programs – These are procedures and functions that are globally visible throughout the report and can therefore be called from any event handler.  
 
_bm0   Event Handlers – These are all event handlers that have been implemented in the report.  
 

See this note on the term "
Global
".

For an explanation of the triangular icons which appear in the tree view, see the
Events View.