Sự kiện ADO FetchProgress
❮ Tham chiếu đối tượng tập bản ghi hoàn chỉnh
Sự kiện FetchProgress được kích hoạt định kỳ trong một hoạt động không đồng bộ, để cho biết có bao nhiêu bản ghi khác đã được tìm nạp vào Recordset.
Cú pháp
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 |
objRs | The name of the Recordset object that triggered this event |
Giá trị EventStatusEnum
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 |
❮ Tham chiếu đối tượng tập bản ghi hoàn chỉnh