Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

ADO 状态 属性


❮ 记录集对象完整参考

Status 属性返回一个或多个 RecordStatusEnum 值,指示当前记录相对于批处理更新或其他批量操作的状态。


语法

objRecordset.Status

RecordStatusEnum

常量 描述
adRecOK 0 记录成功更新
adRecNew 0x1 记录是新的
adRecModified 0x2 记录已修改
adRecDeleted 0x4 记录已删除
adRecUnmodified 0x8 记录未修改
adRecInvalid 0x10 记录未保存;书签无效
adRecMultipleChanges 0x40 记录未保存;将影响多个记录
adRecPendingChanges 0x80 记录未保存;引用待插入记录
adRecCanceled 0x100 记录未保存;操作已取消
adRecCantRelease 0x400 新记录未保存;现有记录已锁定
adRecConcurrencyViolation 0x800 记录未保存;正在使用乐观并发
adRecIntegrityViolation 0x1000 记录未保存;用户违反了完整性约束
adRecMaxChangesExceeded 0x2000 记录未保存;待处理更改过多
adRecObjectOpen 0x4000 记录未保存;与打开的存储对象冲突
adRecOutOfMemory 0x8000 记录未保存;计算机内存不足
adRecPermissionDenied 0x10000 记录未保存;用户权限不足
adRecSchemaViolation 0x20000 记录未保存;违反了数据库结构
adRecDBDeleted 0x40000 记录已从数据源中删除

❮ 记录集对象完整参考
×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2024 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.