Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Access Database with password in VFP
Message
From
15/11/2001 08:51:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00581981
Message ID:
00581998
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform