2,209
社区成员
发帖
与我相关
我的任务
分享
Private Sub ConnectionDB()
Dim odb As Object
Set odb = CreateObject("LiteX.LiteConnection")
On Error GoTo errorhandler
odb.Open (App.Path & "\InPData.db")
dbConnected = True
errorhandler:
MsgBox "无法连接数据库!"
dbConnected = False
End Sub