beautypg.com

Display the record the user wants to delete – Adobe Dreamweaver CC 2015 User Manual

Page 666

background image

659

Building applications visually

Last updated 6/3/2015

To display only some of the record’s fields, click Selected and choose the desired fields by Control-clicking
(Windows) or Command-clicking (Macintosh) them in the list.

Make sure to include the record ID field even if you won't be displaying it.

4

Complete the Filter section as follows to find and display the record specified in the URL parameter passed by the
results page:

• From the first pop-up menu in the Filter area, select the column in the recordset containing values that match

the value of the URL parameter passed by the page with the Delete links. For example, if the URL parameter
contains a record ID number, select the column containing record ID numbers. In the example discussed in the
previous section, the recordset column called CODE contains the values that match the value of the URL
parameter passed by the page with the Delete links.

• From the pop-up menu beside the first menu, select the equal sign, if not already selected.

• From the third pop-up menu, select URL Parameter. The page with the Delete links uses a URL parameter to

pass information to the delete page.

• In the fourth box, enter the name of the URL parameter passed by the page with the Delete links.

5

Click OK.

The recordset appears in the Bindings panel.

Display the record the user wants to delete

1

Select the recordset columns (record fields) in the Bindings panel, and drag them to the delete page.

Make sure you insert this read-only dynamic content within the form boundaries. For more information on
inserting dynamic content in a page, see .

Next, you must bind the record ID column to the hidden form field.

2

Make sure Invisible Elements are enabled (View > Visual Aids > Invisible Elements), and then click the yellow shield
icon that represents the hidden form field.

The hidden form field is selected.

3

In the Property inspector, click the lightning bolt icon beside the Value box.

4

In the Dynamic Data dialog box, select the record ID column in the recordset.