Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Version of ODBC from VFP
Message
 
 
À
29/08/2010 18:55:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01479042
Message ID:
01479139
Vues:
56
>>>Where does your nHandle come from? It must not be a VFP ODBC handle (the one returned by a call to SQLCONNECT() - sorry if I mislead you into that). Use the function GetConnect from the news2news sample to create a valid ODBC connection handle in order to query the driver (by the way, I believe you're looking for InfoType 7).
>>
>>Yes, I was using the handle returned from VFP function SQLSTRINGCONNECT. My bad. I will try to use the GetConnect() from the sample; the only thing I don't know is what you use for the DSN name parameter. The syntax of calling GetConnect() is GetConnect("dsn", user, password). What do you use for DSN? Thank you again for your help.
>
>DSN stands for Data Source Name, created in the ODBC Data Source Administrator in Administrative Tools. I haven't try if you can input a DSN-less string, there...

Thank you very much.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform