当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO Status 属性

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO Status 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 353 ::
收藏到网摘: n/a

The Status property returns one or more RecordStatusEnum value that indicates the status of the current record with regard to batch updates or other bulk operations.
Status属性的作用是:返回一个或多个RecordStatusEnum值,用于指明进行批量更新或大量操作的当前记录的状态。

Syntax
语法

objRecordset.Status


RecordStatusEnum

Constant常量 Value值 Description描述
adRecOK 0 Record successfully updated
成功地更新记录
adRecNew 0x1 Record is new
指示记录是新建的
adRecModified 0x2 Record modified
记录被修改
adRecDeleted 0x4 Record deleted
记录被删除
adRecUnmodified 0x8 Record not modified
记录没有修改
adRecInvalid 0x10 Record not saved; invalid bookmark
由于书签无效,记录没有保存
adRecMultipleChanges 0x40 Record not saved; would have affected multiple records
由于影响多个记录,因此记录未被保存
adRecPendingChanges 0x80 Record not saved; refers to a pending insert
由于记录引用挂起的插入,因此未被保存
adRecCanceled 0x100 Record not saved; operation was canceled
由于操作被取消,未保存记录
adRecCantRelease 0x400 New record not saved; existing record was locked
由于现有记录锁定,没有保存新记录
adRecConcurrencyViolation 0x800 Record not saved; optimistic concurrency was in use
由于开放式并发在使用中,记录未被保存
adRecIntegrityViolation 0x1000 Record not saved; user violated integrity constraints
由于用户违反完整性约束,记录未被保存
adRecMaxChangesExceeded 0x2000 Record not saved; too many pending changes
由于存在过多挂起更改,记录未被保存
adRecObjectOpen 0x4000 Record not saved; conflict with an open storage object
由于与打开的储存对象冲突,记录未被保存
adRecOutOfMemory 0x8000 Record not saved; computer has run out of memory
由于计算机内存不足,记录未被保存
adRecPermissionDenied 0x10000 Record not saved; user has insufficient permissions
由于用户没有足够的权限,记录未被保存
adRecSchemaViolation 0x20000 Record not saved; violates the structure of the database
由于记录违反基本数据库的结构,因此未被保存
adRecDBDeleted 0x40000 Record already deleted from the data source
记录已经从数据源中删除

评论 (0) All

登陆 | 还没注册?