Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC
Message
 
 
À
01/04/2001 18:08:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Re: ODBC
Divers
Thread ID:
00475115
Message ID:
00490806
Vues:
41
If these would be found in the registry as values, then yes you can pass them as parameters. First set up a DSN thru the Control Panel then look in the Registry to see all the parameters that were created for that DSN. Any pairs in there can be passed in the configuration string -- e.g., ('...;uid=myuserid;pwd=mypassword;server=sid;someparm=someval')

>Hi Mark,
>
>Hey will this allow me to specify the indexes for each table as you can do in the control panel? Thanks. -Rick
>
>>>Is there an API that will allow me to set up an ODBC DSN?
>>
>>Download my ODBC DSN Class from the Files Section, Win32/API category. Read the comments at the beginning of the ODBC.PRG. The free Registry class from West-Wind is also required to use this class.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform