ADO 취소 방법


❮ 전체 레코드 개체 참조

Cancel 메서드는 메서드 호출 실행을 취소합니다.

Cancel 메서드는 각 개체에 대해 서로 다른 작업을 취소합니다. 아래 표는 이 메서드가 호출될 때 취소되는 작업을 보여줍니다.

Object Cancelled task
Command Execute.

Note: The Options parameter of the Execute method must be set to adAsyncExecute or adAsyncFetch, before the Cancel method is called, otherwise a run-time error will occur

Connection Execute or Open.

Note: The Options parameter of the Open method must be set to adSyncConnect, or the Options parameter of the Execute method be set to adAsyncExecute or adAsyncFetch, before the Cancel method is called, otherwise a run-time error will occur

Record CopyRecord, DeleteRecord, MoveRecord, or Open

Note: The Options parameter of the Execute method must be set to adAsyncExecute or adAsyncFetch, before the Cancel method is called, otherwise a run-time error will occur

Recordset Open
Stream Open

통사론

object.Cancel

❮ 전체 레코드 개체 참조