Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC SQL Server Listing
Message
 
 
To
26/11/2004 14:45:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00965026
Message ID:
00965033
Views:
11
This message has been marked as the solution to the initial question of the thread.
You can use ODBCreg class from the registry class library in FFC.
oReg = NewObject("odbcreg", HOME() + "FFC\Registry")
Dimension laODBClist[1]
= oReg.GetODBCDrvrs(@laODBClist,.t.)
It returns two columns array of user DNS's. The first column is DSN name and the secon is an ODBC driver name.

>
>Anybody know how to list all the created ODBC DSN which are specifically created for SQL Server?
>
>I wanted to put this list in the combo box.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform