• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. The Visual Basic Editor, Part I > 8.1. The Project Window

The Project Window

The window in the upper-left corner of the client area (below the toolbar) is called the Project Explorer. Figure 8-2 shows a close-up of this window.

The Project Explorer
Figure 8-2. The Project Explorer

Note that the Project Explorer has a tree-like structure, similar to the Windows Explorer’s folders pane (the left-hand pane). Each entry in the Project Explorer is called a node . The top nodes, of which there are two in Figure 8-2, represent the currently open Access VBA projects (hence the name Project Explorer). The view of each project can be expanded or contracted by clicking on the small boxes (just as with Windows Explorer).

As you know, Access is a single document interface (SDI) program, meaning that you can only open one database for each session of Access. Each Access session has its own IDE as well. Hence, the project window for a given instance of the IDE will contain only one user project. However, as you can see in Figure 8-2, Access may add another project to the project window. The ACWZMAIN project in Figure 8-2 was added when I invoked the Access wizard to create a table, for instance. If you try to access any of the code in the ACWZMAIN project, you will be rewarded with a “Project Unviewable” error message.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint