Datasheet
Book IX
Chapter 1
Building Master and
Detail Pages
Building Master and Detail Pages in One Operation
693
4. Choose Insert➪Application Objects➪Master Detail Page Set to insert
the master and detail pages all in one operation.
The Insert Master-Detail Page Set dialog box appears. 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 our example, we selected Employee_Recordset.
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 will appear on the master page in a table
format.
Typically, fewer fields appear on the master page than the detail page.
7. From the Link to Detail From drop-down list, select the field in the
recordset that you want to serve as the link to the detail page.
For example, we selected the
last_name field to serve as the link to the
detail page for each record.
Code indicator
New recordset
Figure 1-1:
The
Document
window
with a
recordset
defined.
52_781428 bk09ch01.qxp 6/19/06 11:46 AM Page 693