|
-
Jul 28th, 2004, 01:48 PM
#1
Thread Starter
Addicted Member
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...
-
Jul 28th, 2004, 02:18 PM
#2
Frenzied Member
i believe you need single quotes around your path.
-
Jul 28th, 2004, 02:40 PM
#3
I don't think the underscore in Data_Source is correct. Try just Data Source=
-
Jul 28th, 2004, 02:57 PM
#4
Thread Starter
Addicted Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|