Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open a connection with security on msaccess database?
Message
From
16/07/2001 18:41:01
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
 
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00531137
Message ID:
00531291
Views:
14
Remove the "persist security info" (used with SQL not Access) and add the following:
Jet OLEDB:Database Password=password

So your new connection string should read:

strConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strDBPath & "security.mdb;Jet OLEDB:Database Password=typepass"

:where 'typepass' is your database password.


If this doesn't work make sure you have the latest MDAC (currently 2.6 SP1) available at http://www.microsoft.com/data/download.htm. Let me know what works for ya. Cheers.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform