Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC
Message
From
12/02/2001 19:25:56
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Re: ODBC
Miscellaneous
Thread ID:
00475115
Message ID:
00475125
Views:
45
try code like this
DECLARE Integer SQLConfigDataSource in odbccp32 ;
Integer, Integer, String, String
local lnSuccess
if tlModify
lnSuccess = SQLConfigDataSource(0, ODBC_CONFIG_DSN, tcDriverName, tcSettingString)
else
lnSuccess = SQLConfigDataSource(0, ODBC_ADD_DSN, tcDriverName, tcSettingString)
endif

But more is involved.. you need to set registry settings.
Previous
Reply
Map
View

Click here to load this message in the networking platform