当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO FetchProgress 事件

ADO
ADO介绍
ADO数据库连接
ADO记录集
ADO显示记录
ADO查询语句
ADO记录排序
ADO添加记录
ADO更新记录
ADO删除记录
ADO演示
ADO提升执行速度
ADO Command对象
ADO Connection对象
ADO Error
ADO Field
ADO Parameter
ADO 属性
ADO Record
ADO Recordset
ADO Stream

ADO FetchProgress 事件


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

The FetchProgress event is triggered periodically in an asynchronous operation, to state how many more records that have been fetched into the Recordset.
FetchProgress事件将在异步操作程序中被周期性的激发,作用是为了陈述被记录集获取的更多记录。

Syntax
语法

FetchProgress progress,maxprogress,status,objRs

Parameter参数 Description描述
progress

The number of records that have been fetched by the operation
指定被操作程序获取的记录数量

maxprogress

The maximum number of records that are expected to be fetched
指定希望被操作程序获取的做大记录数量

status An EventStatusEnum value that indicates the status of the execution of the event
指定一个EventStatusEnum值,用于指示事件执行的状态
objRs The name of the Recordset object that triggered this event
指定激发该事件的记录集对象的名称


EventStatusEnum Values

Constant常量 Value值 Description描述
adStatusOK 1 The operation that caused the event was successful
激发事件操作成功
adStatusErrorsOccurred 2 The operation that caused the event failed
激发事件操作失败
adStatusCantDeny 3 The operation that caused the event cannot be cancelled
不可以取消正处于处理执行中的操作
adStatusCancel 4 The operation that caused the event is cancelled
取消激发事件的操作
adStatusUnwantedEvent 5 Prevents subsequent notifications before the event method has finished executing
在时间的运行方法终止运行之前禁止后续的报告

评论 (0) All

登陆 | 还没注册?