Datasheet
Book IX
Chapter 1
Building Master and
Detail Pages
733
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 be displayed on the master page.
Figure 1-1:
Dream-
weaver with
a recordset
defined.
4. Choose Insert➪Data Objects➪Master Detail Page Set to insert the
master and detail pages.
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. In the Recordset drop-down list, select the recordset that you want to
use for the master page.
For this example, we 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 (+) icon to add a field and click the minus (–) icon 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 on the detail
page.
Building Master and Detail Pages in One Operation (PHP, ASP, JSP, ColdFusion)
53_610770-bk09ch01.indd 73353_610770-bk09ch01.indd 733 5/6/10 1:20 PM5/6/10 1:20 PM