SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1293 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


As with the insert record application, you can choose to either create all the components of an update
record page yourself or use the application object to build them for you. To prepare the page for adding the
Update Record server behavior, make sure you include a form element for every data field you want to
update as well as a Submit button. Neither the action nor method attributes of the form need to be set??”
the Update Record server behavior handles that chore. To insert an Update Record server behavior, follow
these steps:
1. From the Server Behaviors panel, choose Update Record. The Update Record dialog box appears,
as shown in Figure 23-16.
2. From the Update Record dialog box, choose a connection from the Connection drop-down list. If
you need to establish a new connection, click Define.
3. Select the data table from the Table to Update list.
4. Choose the data source on which to base your update from the Select Record From list.
5. Select the key field from the Unique Key Column list. Dreamweaver attempts to detect whether
the field is a number type and, if so, it selects the Numeric option.
6. Enter the path to the destination page in the After Updating, Go To field; or click the Browse button
to locate the file.
7. Select the name of the form to be used from the Get Values From list.


Pages:
1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305