K
Koorosh
Hi everyone
I am trying to append a string to my access project's connection string.
CurrentProject.Connection.ConnectionString=
CurrentProject.Connection.ConnectionString & "Jet OLEDB:System
database=C:\workgroupInfo.mdw;"
I keep getting an error message saying: can't do this while the object is
open. I then add code to close the project's connection before appending to
its connectionstring. I still get an error message saying that the close
operation failed.
What gives?
Where in the project, and how do I append to the CurrentProject.Connection's
connectionstring?
I am trying to append a string to my access project's connection string.
CurrentProject.Connection.ConnectionString=
CurrentProject.Connection.ConnectionString & "Jet OLEDB:System
database=C:\workgroupInfo.mdw;"
I keep getting an error message saying: can't do this while the object is
open. I then add code to close the project's connection before appending to
its connectionstring. I still get an error message saying that the close
operation failed.
What gives?
Where in the project, and how do I append to the CurrentProject.Connection's
connectionstring?