Hello
i want to check wheather a database named "SvrName.md b" exist in "D:" or not if not then create and if yes then opendatabase
i use the following code for creation and opening but i am not getting any idea how i can check
Strapth="D:\"
If Strpath = "SvrName.md b" Then
dbConn = dbEngine.Create Database(Strpat h & "SvrName.md b", DAO.LanguageCon stants.dbLangGe neral)
Else
dbConn = dbEngine.OpenDa tabase(Strpath & "SvrName.md b", DAO.LanguageCon stants.dbLangGe neral)
End If
i want to check wheather a database named "SvrName.md b" exist in "D:" or not if not then create and if yes then opendatabase
i use the following code for creation and opening but i am not getting any idea how i can check
Strapth="D:\"
If Strpath = "SvrName.md b" Then
dbConn = dbEngine.Create Database(Strpat h & "SvrName.md b", DAO.LanguageCon stants.dbLangGe neral)
Else
dbConn = dbEngine.OpenDa tabase(Strpath & "SvrName.md b", DAO.LanguageCon stants.dbLangGe neral)
End If
Comment