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 重新查询 方法


❮ 记录集对象完整参考

重新查询方法通过重新执行创建原始记录集的查询来更新记录集中的数据。

提示: 使用此方法刷新记录集的全部内容。

注意: 使用此方法,您可以在一步中调用 Close 和 Open 方法。

语法

objRecordset.Requery options

参数 描述
options 可选。指定如何执行此命令。可以是 ExecuteOptionEnum

ExecuteOptionEnum 值

常量 描述
adOptionUnspecified -1 未指定的命令
adAsyncExecute 16 命令应异步执行。不能与 CommandTypeEnum 值 adCmdTableDirect 结合使用
adAsyncFetch 32 在 CacheSize 属性中指定的初始数量之后剩余的行应异步检索
adAsyncFetchNonBlocking 64 主线程在检索时永远不会阻塞。如果请求的行尚未检索到,当前行将自动移至文件末尾。如果从包含持久存储的记录集的流中打开记录集,adAsyncFetchNonBlocking 将不起作用;操作将是同步的和阻塞的。当使用 adCmdTableDirect 选项打开记录集时,adAsynchFetchNonBlocking 不会产生任何影响
adExecuteRecord 512 CommandText 是一个命令或存储过程,它返回一行作为记录对象返回

❮ 记录集对象完整参考
×

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.