Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving system DSN properties
Message
De
10/10/2012 20:15:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Retrieving system DSN properties
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01554742
Message ID:
01554742
Vues:
63
Disregard -- found it: sqlgetprop()


I am creating a system dsn on the fly if it doesn't exist using SQLConfigDataSource. No problem. However, if the system dsn already exists on the workstation, I need to retrieve its properties (Database, Server). I need to do this in the odbc32 system dsn on 64 bit machines and in the odbc system dsn on 32 bit machines.

What is the best way to do that and does anyone have any examples?

TIA
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform