Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SqlStringConnect()
Message
 
 
À
06/03/2001 12:07:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00482290
Message ID:
00482299
Vues:
10
>In my application, I use the command SqlStringConnect() to access
>a SQL Server database. However, when the connection failed, I get
>a window to enter UserId and Password. Is it possible to NOT display
>that window?

Set the DispLogin property for the all subseqyent SQL connections to 3 (Never show login).

=sqlsetprop(0,'DispLogin',3)

If you want, you can get the current value useing sqlgetprop() and then reset it when you are done.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform