![]() ![]() ![]() |
CFINSERT inserts new records in data sources.
<CFINSERT DATASOURCE="ds_name" DBTYPE="type" DBSERVER="dbms" DBNAME="database name" TABLENAME="tbl_name" TABLEOWNER="owner" TABLEQUALIFIER="tbl_qualifier" USERNAME="username" PASSWORD="password" PROVIDER="COMProvider" PROVIDERDSN="datasource" FORMFIELDS="formfield1, formfield2, ...">
Required. Name of the data source that contains your table.
Optional. The database driver type:
Optional. For native database drivers, 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 only). If specified, DBNAME overrides the default database specified in the data source.
Required. Name of the table you want the form fields inserted in. Note the following:
Optional. For data sources that support table ownership (such as 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 insert. If this attribute is not specified, all fields in the form are included in the operation.
![]() ![]() ![]() |
AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.