G
geebee
i have the following code snipet in my database:
' Set the string to the path of your database
strDB = "C:\folder\subfolder\database_name"
cnt.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & strDB & ";"
However, I am getting error messages that say something like "database has
been put in admin state by xyz."
i would like for the preceding code to be carried out ONLY if the database
connection has NOT been established. How can I change the code o achieve
this?
Thanks in advance,
geebee
' Set the string to the path of your database
strDB = "C:\folder\subfolder\database_name"
cnt.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & strDB & ";"
However, I am getting error messages that say something like "database has
been put in admin state by xyz."
i would like for the preceding code to be carried out ONLY if the database
connection has NOT been established. How can I change the code o achieve
this?
Thanks in advance,
geebee