Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define DSN with user and password
Message
De
05/06/2003 10:21:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/06/2003 10:10:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00796694
Message ID:
00796702
Vues:
14
>How I can define DNS file with UserID and Password, for use with MSDE in a Windows 98, then SQL Security, no Windows Security.
>
>I read this article :
>
>http://www.pinnaclepublishing.com/FT/FTMag.nsf/WebIndexByIssue/2488194579B6EFC0852568CF0073C523?opendocument
>
>And say:
>
>"if you pass a user ID and/or password when configuring a SQL Server connection, the SQLConfigDataSource function will fail every time"
>
>Then, how could I do that?
>
>Regads,
>José Luis.

Use a connectionstring instead. ie:
lnConStr = 'Driver=SQL server;Server=servername;User ID=user;Password=pwd;'
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