Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLConfigDataSource problem
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00111019
Message ID:
00111249
Views:
31
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform