Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open a connection with security on msaccess database?
Message
De
16/07/2001 18:41:01
Jason Dalio
Northern Interior Regional Health Board
Prince George, Colombie Britannique, Canada
 
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00531137
Message ID:
00531291
Vues:
13
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform