Chapter 1: ColdFusion Tags
CFGRIDUPDATE
Used in a CFGRID, CFGRIDUPDATE allows you to perform updates to data sources
directly from edited grid data. CFGRIDUPDATE provides a direct interface with your
data source.
CFGRIDUPDATE first applies DELETE row actions followed by INSERT row actions
and finally UPDATE row actions. Row processing stops if any errors are encountered.
Syntax
<CFGRIDUPDATE GRID="gridname"
DATASOURCE="data source name"
DBTYPE="type"
DBSERVER="dbms"
DBNAME="database name"
TABLENAME="table name"
USERNAME="data source username"
PASSWORD="data source password"
TABLEOWNER="table owner"
TABLEQUALIFIER="qualifier"
PROVIDER="COMProvider"
PROVIDERDSN="datasource"
KEYONLY="Yes/No">
GRID
Required. The name of the CFGRID form element that is the source for the update
action.
DATASOURCE
Required. The name of the data source for the update action.
DBTYPE
Optional. The database driver type:
ODBC (default) — ODBC driver.
Oracle73 — Oracle 7.3 native database driver. Using this option, the ColdFusion
Server computer must have Oracle 7.3.4.0.0 (or greater) client software
installed.
Oracle80 —Oracle 8.0 native database driver. Using this option, the ColdFusion
Server computer must have Oracle 8.0 (or greater) client software installed.
Sybase11 —Sybase System 11 native database driver. Using this option, the
ColdFusion Server computer must have Sybase 11.1.1 (or greater) client
software installed. Sybase patch ebf 7729 is recommended.
OLEDB —OLE DB provider. If specified, this database provider overrides the
driver type specified in the ColdFusion Administrator.
DB2 —DB2 5.2 native database driver.
Informix73—Informix73 native database driver.
87
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers