ADO » DataFactory » SubmitChanges

Syntax:
datafactoryobject.SubmitChanges ConnectionString, Recordset
ConnectionString
The ConnectionString parameter is a string that contains the details of the connection.
Recordset
The Recordset parameter is the Recordset object that contains pending changes that you want to submit to the database.

Sends all of the pending changes in the locally cached Recordset object down to the underlying data source.

The SubmitChanges method is called to submit to the database pending changes that are in a locally cached and updateable Recordset object. Only the actual changes are submitted. Either all of the changes are successfully added to the database or none of the changes are added.

There are two mandatory parameters.

Examples

Code:
objDataFactory.SubmitChanges strConnection, objRecordset

See Also: