G
Guest
Does someone know what's wrong with this lines of code?
Dim cnn As ADODB.Connection
Set cnn = New ADODB.Connection
cnn.ConnectionString = "provider='Microsoft.Jet.OLEDB.4.0'; Data
source='C:\Documents and Settings\rocco n forgione\My Documents\CLIENTS\GB
CASSANO\grant\database\collection\grant.mdb';userid='gestore';password='paolarucci';wrkgrp='c:\mdw_files\grant.mdw'"
cnn.Open
It miserably crash on the last line...
I just need to connect the database to work with its data.
But it sounds impossible. It says "the workgroup is missing or opened
exclusively by another user"
....now...it's only me working!!!!!!! and the path for the workgroup file is
correct as userid and password.
I have to say i really hate the connectionstring *thing*...but this seemed
SO easy (...which it should be not...and this confirm I'm not that good on
this stuff)
Any suggestion? (other than throwing away this messy through the window)
Dim cnn As ADODB.Connection
Set cnn = New ADODB.Connection
cnn.ConnectionString = "provider='Microsoft.Jet.OLEDB.4.0'; Data
source='C:\Documents and Settings\rocco n forgione\My Documents\CLIENTS\GB
CASSANO\grant\database\collection\grant.mdb';userid='gestore';password='paolarucci';wrkgrp='c:\mdw_files\grant.mdw'"
cnn.Open
It miserably crash on the last line...
I just need to connect the database to work with its data.
But it sounds impossible. It says "the workgroup is missing or opened
exclusively by another user"
....now...it's only me working!!!!!!! and the path for the workgroup file is
correct as userid and password.
I have to say i really hate the connectionstring *thing*...but this seemed
SO easy (...which it should be not...and this confirm I'm not that good on
this stuff)
Any suggestion? (other than throwing away this messy through the window)