Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open Access Database with password in VFP
Message
De
15/11/2001 08:51:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00581981
Message ID:
00581998
Vues:
8
Simon,
You could try something like this:
lcConnectionStr = "DRIVER={Microsoft Access Driver (*.mdb)};" +;
                  "Dbq=< PathAndDatabase.mdb >;" +;
                  "Uid=Admin;" +;
                  "Pwd=< YourPassword >;"

lnAccess = SQLSTRINGCONNECT(lcConnectionStr)

?SQLEXEC(lnAccess, "SELECT * FROM < YourTable >", "< SomeAlias >")
HTH
>Does anybody have experience of opening a passworded Access database in VFP to allow my application to import the data? Any feedback much appreciated.
Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform