Tài liệu Microsoft Office Access 2007 P2
Trang 1Creating aForminDesignView | 15
Creating a Form in Design View
Although the Form Wizard is a step up from the Form, Split Form, and Multiple Items
commands in terms of control, the resulting forms still might not satisfy your needs For
example, you might want to build a custom form that mirrors as closely as possible an
equivalent paper form If the Access form resembles the paper form, the person using
the form to enter data will feel more comfortable with it and will be less likely to make mis-
takes
For maximum form flexibility, you need to use the form design window, which gives you
total control over the form, including the positioning of the controls, the formatting of the
text, the colors, and much more
Displaying the Design View
Access forms have a Design view that you can use for your customization chores How you
display this view depends on whether you're dealing with an existing form or a new one
To open an existing form in Design view, you have two choices:
m Ifthe form isn’t open, right-click the form in the Navigation pane and then click
Design View
m Ifthe form is already open, choose Home, click the lower half of the View split button,
and then click Design View (Alternatively, click the Design View button on the status
bar; see Figure 1.8.)
‘To start a new form, you have two choices:
m Choose Create, Blank Form Then choose Format, click the lower half of the View
split button, and then click Design View
m= Choose Create, Form Design
When you create a new form, it isn’t associated with a table or query, so you need to set the
record source by hand See “Changing the Record Source,” next
Figure 1.8 shows a new, blank form in Design view Note that you place the form controls,
including the table’s fields and their labels, in the Detail area
Changing the Record Source
The fields available to the form depend on the table or query that you’ve defined as the
form’s record source If you’ve created a blank form, you need to specify the record source
yourself For an existing form, you might want to change the record source to a different
table or query Either way, you follow these steps to change the record source while you’re
in Design view: