Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if an ODBC DSN exists.
Message
De
16/09/1999 12:54:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00265526
Message ID:
00265530
Vues:
17
>I found some info here on the UT to programaticaly create a new ODBC DSN. Now I need determine if one already exists. Is there a way?
>
>I want to use this in a post executable as part of the setup. The DSN will connect to a Visual FoxPro .dbc


You can check SQLStringConnect(cConnectString) return value. If it's positive you have the connection.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform