Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connecting VFP Databases using SQLDriverConnect command
Message
 
 
À
16/06/2000 11:51:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00381443
Message ID:
00381447
Vues:
17
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform