Microsoft Access 2010 Bible

(Rick Simeone) #1

Part I: Access Building Blocks


280



  1. Select the Description text box control.

  2. Select Paste from the Home ribbon’s Clipboard group to attach the label control to the
    text-box control.


Another way to attach a label to a control is to click the informational icon next to the label, shown
in Figure 7.24. This informational icon lets you know that this label is unassociated with a control.
Select the Associate Label with a Control command from the menu, and then select the control you
want to associate the label with.

FIGURE 7.24

Associating a label with a control


Changing a control’s type
In Figure 7.25, the Complete control is a check box. Although there are times you may want to
use a check box to display a Boolean (yes/no) data type, there are other ways to display the value,
such as a toggle button. A toggle button is raised if it’s true and depressed (or at least very
unhappy) if it’s false.

Use these steps to turn a check box into a toggle button:


  1. Select the Complete label control (just the label control, not the check box).

  2. Press Delete to delete the label control because it isn’t needed.

  3. Right-click the Complete check box, and choose Change To ➪ Toggle Button from the
    pop-up menu.

  4. Resize the toggle button and click inside it to get the blinking cursor; then type After on
    the button as its caption (shown on the right of Figure 7.25).

Free download pdf