The Code Explorer is contained in the upper left and right panes of the Calc workspace.

The left pane contains a tree view — use this to navigate your report's code.
The right pane contains a list view — it will display a variety of items depending on what is selected in the tree view.

By right clicking on the tree you can display a context menu that allows you to control the behavior of the Code Explorer.

If you select
Variables, the tree will display the bands of the report. When you click on a band, all variables contained in the band will be displayed. Selecting an individual variable causes the Code Editor to display the OnCalc event handler, if one exists.

If you select
Events, the tree will display all components in the report. Selecting an individual component allows you to see all of the events for that component. When you select an event, the Code Editor will display the event handler, if one exists.

If you select
Module, the tree will display module level items: Declarations, Events, Programs (procedures and functions) and Event Handlers. The items displayed in the list view will depend on what is selected in the tree. Likewise, the Code Editor will display code appropriate to what is selected in the list view.

_bm0   With Declarations selected in the tree, the list view will show Constants and Variables. Select either item to enter declarations in the Code Editor.  
 
_bm0   With Events selected in the tree, the Module level events (OnCreate and OnDestroy) will be shown. Select either to edit the code for these events.  
 
_bm0   With Programs selected in the tree, the list view lists any Module level procedures or functions you have defined. Use the Code Editor to edit these programs.  
 
_bm0   With Event Handlers selected in the tree, the list view displays any events in the report that have handlers assigned. Use the Code Editor to edit these handlers.