Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC SQL Server Listing
Message
 
 
À
26/11/2004 14:45:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00965026
Message ID:
00965033
Vues:
10
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform