Update Method

Saves any changes to the current record of a Recordset object.

RecordsetObject.Update()

Client support

   Newlook Smartclient

   Newlook Server

Use

Use the Update method to save any changes you make to the current record of a Recordset object since calling the AddNew method or since changing any field values in an existing record.

The AddNew method sets the EditMode property of the Recordset to EditAdd. Any changes to the new record are cached locally. The Update method posts the new record to the database and resets the EditMode property to EditNone. The CancelUpdate method deletes the new record and resets the EditMode property to EditNone.

If you call the AddNew method while editing the current record or while adding a new record, the Update method is called to save any changes before the new record is created.

The cursor position remains unchanged after calling the Update method.

Arguments

None.

Applies To

Recordset object

See Also

DBConnect Method | Open Method | Disconnect Method | Close Method | Find Method | Move Method | AddNew Method | BeginTrans Method | CancelUpdate Method | CommitTrans Method |Delete Method | RollbackTrans Method | Seek Method | Update Method | ConnectionString property | DB Connection object


© 2004-2021 looksoftware. All rights reserved.