Updates records in a data source from data in a CFML form
or form Scope.
<cfupdate datasource="" tablename="">
cfupdate(datasource="", tablename="");
Uses the cfupdate function to update a record in the a users table based on a list form fields. The primary key must be included in the list of fields
cfupdate( datasource="myDsn", tablename="users", formFields="userId,firstName,lastName,emailAddress" );
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.