Deleting a certain record from a database A database refers to data organized and stored on a computer that can be searched and retrieved by a computer program. Most industrial-strength and many smaller database applications can be addressed using SQL (Structured Query A query is a SQL command that will extract information from the tables of a database. Essentially, a query is a request for information from your database. Language). table can be done in a single operation using the Delete Record Wizard, without having to manually retrieve its ID and build the recordset A recordset is the result of executing an SQL query. It is composed of multiple rows, each row having multiple columns. The columns presented in the query result depend on the column list declared in the query (they can belong to different tables). The number of rows and their order depend on the query conditions (WHERE, GROUP BY, HAVING, ORDER). The recordset acts as a source of dynamic data The InterAKT Dynamic Data tool is a replacement for the standard dynamic data dialog. It is used in the MX Kollection 3, to provide a unified way of building mark-ups, or place holders. These are recordset fields, server or session variables, and other types of dynamic data that are replaced at runtime by their corresponding values in web applications.. The wizard adds a Delete Record server behavior A server behavior is a reusable component for server-side development. They add blocks of code to your pages for accomplishing specific tasks. Dreamweaver comes with several default server behaviors and the InterAKT extensions add many more to this list. to your delete page. To edit the server behavior, open the Server Behaviors panel (Window -> Server Behaviors) and double-click the Delete Transaction server behavior.
The Delete Record Wizard is accessible from two locations:
The purpose of this wizard is to build a page that enables users to delete records from a database table. This wizard is divided into two steps. To build the delete page with the Delete Record Wizard, follow the next instructions:
The first step into completing the dialog box requires the user to input basic information about the transaction, like the table to delete from, the ID of the record to be deleted, and the page to which it will be redirected:
To set the dialog box options, follow the next steps:
This last step of the wizard requires the user to set some transaction options:
To set the dialog box options, follow the next steps: