Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a ODBC DATASOURCE programmatically
Message
De
09/11/2001 06:23:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/11/2001 06:09:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00579560
Message ID:
00579565
Vues:
27
>Hi all,
>
>How to create a ODBC DATASOURCE programmatically
>
>Thanks in advance
>Petros

Petros,
You coudl use create connection. ie :
create connection SQLNORTHWIND ; 
 connstring "DRIVER=SQL Server;SERVER=myserver;UID=user;DATABASE=northwind;PWD=password"
If you'd use SQL passthrough then you could have the same connection with SQLStringConnect :
lnHandle=SQLStringConnect("DRIVER=SQL Server;SERVER=myserver;UID=user;DATABASE=northwind;PWD=password")
Also check faq#8039 for another connection string to Access MDB.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform