call per
Dim title
title = Lib
sql = "select Id From [" & cfg
rs = dbo
If isEmpty(rs) Or isNull(rs) Then
Response
Else
Response
End If
Set Lib = Nothing : Set Dbo = Nothing
From:http://tw.wingwit.com/Article/program/net/201311/14104.html