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 1792 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


CROSS-REF CROSS-REF
1063
Handling Server Behaviors 34
6. For each object listed in the Form Elements area:
n Select the data source field into which the form object??™s value is to be inserted from the
Column list.
n Choose the data source type for the data from the Submit As list. The options are Text;
Numeric; Date; Date MS Access; Checkbox Y, N; Checkbox 1,0; Check -1,0; and Checkbox
MS Access.
Be sure to give your form fields meaningful names so you can easily choose which form field
goes into each database column.
7. Click OK when you??™re finished.
For more information on the Insert Record server behavior, see Chapter 23.
Update Record
Use the Update Record server behavior to modify existing records in a data source.
Requirements: A recordset, a form with form elements linked to the dynamic data, and a Submit button.
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 34-11.
FIGURE 34-11
With an Update Record server behavior, you can modify your data source remotely.
2. From the Update Record dialog box, choose a connection from the drop-down list. To establish a
new connection, click Define.
3. Select the data table you want to use from the Table to Update list.


Pages:
1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804