-
Can't Open connection
hi all,
my prob. seems simple,
Dim connString = "Provider=Microsoft.Jet.OLEDB.4.0;Data_Source=G:\POSdatabase\INVENTORY.mdb"
Dim cnINVENTORY As New OleDb.OleDbConnection(connString)
cnINVENTORY .Open()
unhandelled error occures while .Open() method is compiled.
what could be cause ?
thank you for your time...
-
i believe you need single quotes around your path.
-
I don't think the underscore in Data_Source is correct. Try just Data Source=
-
It worked,
data_source is wrong,
data source is right..
got it, thank you thank you very very much,,,,
DOING GOOD TO OTHERS IS THE BEST THING IN THE WORLD.
-Nanc