Visual InterDev
Updates the Recordset object with changes to the current record.
Syntax
object.updateRecord()
Parameters
object
A script object.
Remarks
When the updateRecord method is used, an onbeforeupdate event is called before the record is updated, and an onafterupdate event is called after the record is updated.
You can move the cursor to designate the current record with the move, moveNext, movePrevious, moveFirst, and moveLast methods.
In some cases, the update may not occur because of one of more the following conditions, each of which produces a trappable error:
To create a new record in the Recordset, use the addRecord method. The Microsoft® Visual InterDev™ Scripting Object Model does not support batch updates. Updates must be made on a record-by-record basis.