网络学院 w3pop社区 网络资源 IT新闻

w3pop.com :: 网络学院 :: ADO :: ADO CancelUpdate 方法

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

ADO CancelUpdate 方法


作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-04-28 浏览:1132 :: ::

The CancelUpdate method cancels changes made to a record of a Recordset object, or the Fields collection of a Record object, before calling the Update method.
CancelUpdate的作用是:在请求Update方法前,取消对当前记录、记录集对象或字段所作的任何更改或放弃新添加的记录。

Recordset object
Recordset[记录集]对象

This method is used to cancel any changes made to the current record or to a newly added record. This method can only be called before the Update method of the Recordset is called.
这个方法的作用是:取消对当前记录所作的任何更改或放弃新添加的记录。这个方法只能在请求Update方法之前使用。

Record object
Record[记录]对象

This method is used to cancel any changes (insertions or deletions) of Field objects.
这个方法是用来取消对Field[字段]对象所作出的更改的(包括插入操作或删除操作)。

Syntax
语法

objRecordset.CancelUpdate
objRecord.Fields.CancelUpdate

评论 (0) All