Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting ODBC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00557845
Message ID:
00561898
Vues:
42
Too much cuttin'-and-pastin':
#INCLUDE ODBC.H
lcDriverName = ODBC_MS_ORACLE
lcSettings   = "DSN=Connect1_or_better_description" + chr(0);
             + "Description=Your_Description_Here" + chr(0);
             + "Server=host_name_in_tnsnames.ora_file"+chr(0);
             + "UID=myuserid"
llModifyDSN  = .f.  && optional. default is false
oODBC = newobject('odbc', 'odbc.fxp')
llSuccess = oODBC.CreateUserDSN(lcDriverName, lcSettings, <b>llModifyDSN</b>)
oODBC.Release
return llSuccess
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform