After completing the master page (see Opening the detail page and passing a record ID to it (ASP and JSP)), you must find the requested record in the database and display it on the detail page. The procedure consists of defining a recordset to hold a single record--the record requested by the master page--and binding the recordset columns to the page.
The simple Recordset dialog box appears. If the advanced dialog box appears instead, click Simple to switch.
The recordset can be identical to or different from the recordset on the master page. Usually a detail page recordset has more columns to display more detail.
If the recordsets are different, the recordset on the detail page should contain at least one column in common with the master page. The common column is usually the record ID column, but it can also be the join field of related tables.
To include only some of the tables columns in the recordset, click Selected and select the desired columns by Control-clicking (Windows) or Command-clicking (Macintosh) them in the list.
For example, if the URL parameter contains a record ID number, select the column containing record ID numbers.
The master page passes information identifying the users selection to the detail page in a URL parameter.
For example, if the URL the master page used to open the detail page is www.mysite.com/customerdetail.asp?id=43, then enter id.
You can also get the name by switching to the master page, opening the Server Behaviors panel (Window > Server Behaviors), and double-clicking the Go to Detail Page server behavior. Check the Pass URL Parameter name.
The recordset appears in the Bindings panel.
The master/detail page set is done.
After creating master/detail page, you can use the Server Behaviors panel (Window > Server Behaviors) to modify the various server behaviors.