Building pages to update a record (ColdFusion)
Your application can contain a set of pages that lets users update existing records in a database
table. The pages normally consist of a search page, a results page, and an update page. The search
and results page let users retrieve the record and the update page lets users modify the record.
This section describes the steps to build pages to update a record:
•
"Searching for the record to update (ColdFusion)" on page 649
•
"Creating the links to open the update page (ColdFusion)" on page 650
•
"Creating a URL parameter for update links (ColdFusion)" on page 651
•
"Retrieving the record to update (ColdFusion)" on page 652
•
"Completing the update page in one operation (ColdFusion)" on page 652
•
"Completing the update page block by block (ColdFusion)" on page 653
Related topics
•
"Building master/detail pages (ColdFusion)" on page 634
•
"Building a record insert page (all servers)" on page 646
•
"Building pages to delete a record (ColdFusion)" on page 655
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.
For instructions on creating pages to search for the record to update, see
pages (ColdFusion, ASP, JSP, PHP)" on page
After creating the search/results pages, the next step is to create links on the results page that open
the update page when clicked.
641.
Building pages to update a record (ColdFusion)
"Building search/results
649
Need help?
Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?
Questions and answers