Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLConfigDataSource problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00111019
Message ID:
00111249
Vues:
32
The following finally worked:
DECLARE Integer SQLConfigDataSource in odbccp32 ;
   Integer, Integer, String, String
lnInt1 = 0
lcODBCDriver="Microsoft ODBC for Oracle"
*!*the ODBC parameter has to be the driver descript, not the DLL name
lcSettings="Description=Region 6 Locator"+chr(0)+;
           "DSN=Locator"+chr(0)+;
           "Server=Reg6"+chr(0)+;
           "UID=reader"+chr(0)
lnSuccess=SQLConfigDataSource(0,ODBC_ADD_DSN,lcODBCDriver,lcSettings)
return lnSuccess
Thanks for pointing me in the right direction on the MSDN, etc.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform