Datasheet

Book IX
Chapter 1
Building Master and
Detail Pages
Building Master and Detail Pages in One Operation . . .
691
3. Save your changes to the master page.
The new recordset appears in the Bindings panel, and connection code
is automatically added to the dynamic page, as shown in Figure 1-1. This
page allows a listing of employees to display on the master page.
4. Choose InsertData ObjectsMaster Detail Page Set to insert the
master and detail pages all in one operation.
The Insert Master-Detail Page Set dialog box appears (see Figure 1-2).
You specify the properties for the master page in the top half of this
dialog box and the properties for the detail page in the lower half.
5. From the Recordset drop-down list, select the recordset that you want
to use for the master page.
For this example, I selected employee_records.
After you select a recordset, Dreamweaver fills in the rest of the fields
with the columns from the recordset.
6. In the Master Page Fields area, select which records you want to
appear on the master page.
Click the plus (+) button to add a field and click the minus (–) button to
remove a field. In Figure 1-2, we selected the first_name and last_
name fields. These fields appear on the master page in a table format.
Typically, fewer fields appear on the master page than the detail page.
Figure 1-1:
Dream-
weaver with
a recordset
defined.