
Chapter 654
6 Remove all the fields in the Master Page Fields list except LOCATION_NAME, CITY, and
STATE_COUNTRY.
7 In the Link To Detail From pop-up menu, select LOCATION_NAME.
To view the detail page for a location, a link needs to be created for each location that appears
in the master list. When a site visitor clicks the Location Name in the master page the
appropriate detail page will open.
8 In the Pass Unique Key pop-up menu, accept the default value, Code and make sure Numeric
is not checked.
The CODE field is the unique key or primary key in the Locations table. This field contains a
unique three letter code for each record.
9 In Show, accept the default setting to display ten records at a time.
10 In Detail Page Name, click Browse, then in the Select File dialog box, navigate to the
locationDetail file in your site folder.
11 Click OK.
12 In the Detail Page Fields, set the fields you want to appear in the detail page, by doing the following:
In the Detail Page Fields list, select CODE, then click the Minus (-) button.
Select REGION_ID, then click the Minus (-) button.
13 Click OK.
Dreamweaver updates the master and detail pages, and adds all the necessary server scripts and
queries for both the list page and the detail page.
The master list page updates. It includes a table for the database data, a table for recordset page
navigation, and a record set counter.
The detail page also updates. It includes a table that lists details for each record in the master page.
Kommentare zu diesen Handbüchern