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

Chapter 2. Building Your First Access Ap... > Using the Switchboard Manager

Using the Switchboard Manager

The Switchboard Manager lets you modify the navigation process for your application. The following steps delete the Forms Switchboard and substitute a button that opens the Contact Types form directly:

1.
Click the Change Switchboard Items button of the Main Switchboard to open the Switchboard Manager dialog.

2.
Select the Forms Switchboard item in the Switchboard Pages list (see Figure 2.32) and click the Delete button. When the Are You Sure? message appears, click Yes.

Figure 2.32. Selecting the Forms Switchboard for deletion in the Switchboard Manager dialog.


3.
With the Main Switchboard (Default) item selected, click the Edit button to open the Edit Switchboard Page dialog.

4.
Select the Enter/View Other Information item in the Items on this Switchboard list (see Figure 2.33) and click Edit to open the Edit Switchboard Item dialog (see Figure 2.34). The Switchboard text box is empty because you deleted the associated switchboard in step 2.

Figure 2.33. Selecting the switchboard item to edit.


5.
Replace the existing content of the Text text box with Enter/View Contact Types and select Open Form in Edit Mode from the Command drop-down list (see Figure 2.35).

Figure 2.34. The Edit Switchboard Item dialog with default entries.


Figure 2.35. Changing the entries for the Main Switchboard button to open a form directly.


6.
Open the Form drop-down list (which replaces the Switchboard list) and select Contact Types (see Figure 2.36). Click OK to accept the changes and return to the Edit Switchboard Page dialog.

Figure 2.36. Selecting the form to open in edit mode.


7.
The Edit Switchboard Page dialog shows the caption change you made in step 5 (see Figure 2.37). Click Close to return to the Switchboard manager dialog, and then click Close again to return to the Main Switchboard form. The second button reflects the caption change. Click the Edit/View Contact Types button to test your work (see Figure 2.38).

8.
Close the Contact Types form to return to the Main Switchboard.

You can import a Switchboard form and Switchboard Items table created by the Database Wizard into Access applications you create from scratch, and then use the Switchboard Manager to modify the original design to suit your navigational needs. Starting with a prebuilt switchboard saves a substantial amount of design work and VBA code writing.

Figure 2.37. The Edit Switchboard Page dialog with the revised caption for the second button of the Main Switchboard.


Figure 2.38. The Main Switchboard with the revised caption for the second button displaying the Contact Types form directly.


▸▸ See Linking and Importing External Tables


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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