After the results page passes a URL parameter to the update page identifying the record to update (see Creating a URL parameter for update links (PHP)), the update page must read the parameter, retrieve the record from the database table, and store it temporarily in a recordset.
The page will become your update page.
If the advanced dialog box appears, click the Simple button to open the simple dialog box.
This kind of filter creates a recordset that contains only the record specified by the results page. For example, if your key column contains record ID information and is called PRID, and if the results page passes the corresponding record ID information in the URL parameter called id
, then heres how your Filter area should look:
When the user selects a record on the results page, the update page generates a recordset containing only the selected record.
After modifying the update page to retrieve a record from the database and store it in a recordset, you must add a form to let users modify the record data, and the logic needed to update the database. You can accomplish these tasks in one operation or block by block. See Completing the update page in one operation (PHP) or Completing the update page block by block (PHP).