Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use a File DSN form connecting to a SQL7 Database
Message
De
30/03/2001 14:43:00
 
 
À
29/03/2001 13:14:36
Sam Trenchard
System Support Services
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00489739
Message ID:
00490409
Vues:
9
Yes, Sam, you right you may use a File DSN interactively, but, unfortunately, there is no way to pass the name as a parameter... :-(
Why don't you want to use SQLStringConnect(...) function? It allows you to connect to the server without creating any DSN, just prepare correct connection string and pass it as a parameter to that function. Sergey has described how you may use SQLStringConnect(...) function.

With best regards,
Alex

>Many thanks for you reply.
>I found that I could use a File DSN interactively by useing and empty string as the parameter as follows :-
>onvar=SQLCONNECT('') -
>then entering the password and the connection works - I just wanted to know if it were possible to pass the name of the FileDSN as a parameter rather than selecting it interactively.
>Regards, Sam Trenchard
Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform