recordset 오픈 여부
페이지 정보
작성자 최고관리자 댓글 0건 조회 2,676회 작성일 17-05-08 14:49본문
The State property can have a combination of values. If a statement is executing, this property will have a combined value of adStateOpen and adStateExecuting.
- adStateClosed value=0 The object is closed
- adStateOpen value=1 The object is open
- adStateConnecting value=2 The object is connecting
- adStateExecuting value=4 The object is executing a command
- adStateFetching value=8 The rows of the object are being retrieved
To check if a recordset is open you can use
if rs.State=adStateOpen then
end if
to close it if its open the use
if rs.State=adStateOpen then
rs.Close
end if
댓글목록
등록된 댓글이 없습니다.