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

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO FetchComplete 事件


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

The FetchComplete event is triggered after all the records in an asynchronous operation have been fetched into the Recordset.
FetchComplete事件是在记录集提取了所有异步操作程序中的记录后被激发的。

Syntax
语法

FetchComplete objErr,status,objRs

Parameter参数 Description描述
objErr The name of an Error object that describes the error if status is set to adStatusErrorsOccurred, otherwise it is not set
指定一个错误对象的名称。如果status[状态]设置为adStatusErrorsOccurred,那么该对象将描述具体的错误信息
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

登陆 | 还没注册?