Access Switchboards 2010
Access Switchboards 2010
Overview of Switchboards
A switchboard is basically a menu, which provides database users with a starting place. It
allows us to tie database objects (tables, queries, forms, reports, and macros) together with a
user-friendly interface, thus providing database users with a personalized interface rather than
the Access interface. Switchboards are also used as a way to protect database objects. By
providing users with an easy-to-use interface, there may not be a need for them to browse
through the database objects where they may inadvertently tamper with the data.
The switchboard manager includes built-in commands for common tasks, such as opening a
form or report. Macros can be created to initiate additional actions. These macros will then be
tied to buttons on the switchboard.
To create a macro,
1. On the Create tab, in the Macros & Code group, click Macro.
c. After selecting an action, users must specify arguments for the action, if
any are required.
For example, lets create a macro
that automatically opens the Top
Ten Orders by Sales Amount query.
Creating a Switchboard
A switchboard can be created by scratch using an unbound form. However, Access provides a
Switchboard Manager which automatically builds the code to make buttons work. The
Switchboard Manager also makes it easy to add new buttons, rearrange buttons, and delete
buttons.
1. From the Database Tools tab, click Switchboard Manager. Note: If you cannot find the
Switchboard Manager icon, under the Home tab, choose Options, and customize your
ribbon by adding Switchboard Manager.
2. Click Edit to make changes to the main switchboard. Click New to create a new
switchboard. Multiple switchboards can be created, and then linked together through
buttons, thus creating a system of layered menus.
4. Customize the item by entering the name of the button, selecting the appropriate
command, and then selecting the desired outcome of the command. Click OK when
finished.
a. Note that there are several built-in commands for common tasks.
5. Repeat these steps for each item on the switchboard. Click Close when finished adding
items. Note that you can also re-arrange buttons on this screen by using the Move Up
and Move Down buttons.
To make the switchboard automatically appear each time the database is opened,
2. From the Current Database tab on the left, select Switchboard from the Display Form
dropdown list. Click OK when finished.
Switchboards are actually forms, and as such, we can use form design tools to customize the
look.
3. You are now able to format and customize the switchboard to meet your needs.
a. Use the features in the Controls group on the Design tab to add images, text
boxes, draw lines, etc.
b. The tools available on the Arrange tab are especially helpful for arranging
controls with a precise look, for example, evenly spacing controls.