Macromedia dreamweaver 8-using dreamweaver User Manual
Building pages to update a record (ColdFusion)
857
Searching for the record to update (ColdFusion)
When users want to update a record, they must first find that record in the database.
Accordingly, you need a search and a results page to work with the update page. The user
enters search criteria in the search page and selects the record on the results page. When the
user clicks the record, the update page opens and displays the record in an HTML form.
Accordingly, you need a search and a results page to work with the update page. The user
enters search criteria in the search page and selects the record on the results page. When the
user clicks the record, the update page opens and displays the record in an HTML form.
For instructions on creating pages to search for the record to update, see
After creating the search/results pages, the next step is to create links on the results page that
open the update page when clicked.
open the update page when clicked.
Creating the links to open the update page
(ColdFusion)
(ColdFusion)
After creating the search/results pages, you must create links on the results page to open the
update page and display the selected record in an HTML form. This section describes how to
create the links. The next section describes how to modify the link so that it also passes the ID
of the record the user selects. The update page will use this ID to find the requested record in
the database and display it.
update page and display the selected record in an HTML form. This section describes how to
create the links. The next section describes how to modify the link so that it also passes the ID
of the record the user selects. The update page will use this ID to find the requested record in
the database and display it.
To create links to the update page:
1.
On the results page, select the repeated text or dynamic content placeholder you want to
be linked.
be linked.
In the following example, the {rsLocations.LOCATION_NAME} placeholder is selected.
The links will be applied to the location names in the column.
The links will be applied to the location names in the column.
2.
In the Property inspector, click the folder icon beside the Link text box.