Setting the Move To Specific Record dialog box options (ASP and JSP)

Setting the Move To Specific Record dialog box options (ASP and JSP)

The purpose of this dialog box is to add a server behavior that finds a specific record in a recordset defined for the page. The server behavior is only available when using the ASP or JSP server models.

The prerequisites for using this server behavior are as follows:

  • A record ID contained in a URL parameter passed by another page to the current page. You can create URL parameters on the other page with HTML hyperlinks or with an HTML form. For more information, see Collecting data submitted by users.
  • A recordset defined for the current page. The server behavior will extract the record details from this recordset. For instructions, see Defining a recordset.
  • Recordset columns bound to the page. The specific record must be displayed on the page. For more information, see Making text dynamic.

To add the server behavior:

  1. In the Move to Record In pop-up menu, select the recordset you defined for the page.
  2. In the Where Column pop-up menu, select the column that contains the value passed by the other page.

    For example, if the other page passes a record ID number, select the column containing record ID numbers.

  3. In the Matches URL Parameter text box, enter the name of the URL parameter passed by the other page.

    For example, if the URL the other page used to open the detail page is id=43, then enter id in the Matches URL Parameter text box.

  4. Click OK.

The next time the page is requested by a browser, the server behavior will read the record ID in the URL parameter passed by the other page and move to the specified record in the recordset.



Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly
Building ColdFusion Applications Rapidly
Building ASP.NET Applications Rapidly
Building ASP and JSP Applications Rapidly