Microsoft Access 2010 Bible

(Rick Simeone) #1

Chapter 8: Working with Data on Access Forms


303


Changing the title bar text with the Caption property
Normally, a form’s title bar shows the name of the form after it’s saved. The form’s Caption prop-
erty specifies the text displayed in the title bar when the form is in Form view. Follow these steps
to change the title bar text:


  1. Click the form selector to make sure the form itself is selected.

  2. Click the Property Sheet button in the Design tab’s Tools group, or press F4 to open the
    Property Sheet.

  3. Click the Caption property in the Property Sheet and enter Products in the property’s
    text box, as shown in Figure 8.10.


FIGURE 8.10
Change the Caption property in the form’s Property Sheet.

Select object

Caption property

Caption property value


  1. Click any other property or press Enter to move off of the Caption property.


Switch to Form view to see the form’s new title bar text. The caption you enter in the form’s prop-
erties overrides the name of the saved form.

Note
Obviously, using a property to change a form’s caption is a trivial exercise. This exercise is designed simply to
show you how easily you manipulate a form’s appearance by changing its properties. As you work your way
through this book you’ll encounter, literally, hundreds of examples of using the design tools provided by Access
to enhance your application and make them more useful to your users.

Free download pdf