<CFUPDATE DATASOURCE="ds_name" DBTYPE="type" DBSERVER="dbms" DBNAME="database name" TABLENAME="table_name" TABLEOWNER="name" TABLEQUALIFIER="qualifier" USERNAME="username" PASSWORD="password" PROVIDER="COMProvider" PROVIDERDSN="datasource" FORMFIELDS="field_names">
The CFUPDATE tag updates existing records in data sources.
Required. Name of the data source that contains your table.
Optional. The database driver type:
Optional. For native database drivers and the SQLOLEDB provider, specifies the name of the database server machine. If specified, DBSERVER overrides the server specified in the data source.
Optional. The database name (Sybase System 11 driver and SQLOLEDB provider only). If specified, DBNAME overrides the default database specified in the data source.
Required. Name of the table you want to update. Note the following:
Optional. For data sources that support table ownership (for example, SQL Server, Oracle, and Sybase SQL Anywhere), use this field to specify the owner of the table.
Optional. For data sources that support table qualifiers, use this field to specify the qualifier for the table. The purpose of table qualifiers varies across drivers. For SQL Server and Oracle, the qualifier refers to the name of the database that contains the table. For the Intersolv dBase driver, the qualifier refers to the directory where the DBF files are located.
Optional. If specified, USERNAME overrides the username value specified in the ODBC setup.
Optional. If specified, PASSWORD overrides the password value specified in the ODBC setup.
Optional. COM provider (OLE-DB only).
Optional. Data source name for the COM provider (OLE-DB only).
Optional. A comma-separated list of form fields to update. If this attribute is not specified, all fields in the form are included in the operation.