Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connecting VFP Databases using SQLDriverConnect command
Message
 
 
To
16/06/2000 11:51:08
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00381443
Message ID:
00381447
Views:
16
>I looking for a sample code to connect VFP Databases thought ODBC using SQLDriverConnect command to create runtime System DSN. Does somebody could help me ??

An example for connecting to Oracle:

lnHandle = sqlstringconnect('Driver=Microsoft ODBC for Oracle;ConnectString=reg6;UID=' + lcUser + ';PWD=' + lcPassword + ';')

I use a VFP form to gather user login info -- lcUser and lcPassword.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform