Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How handle
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How handle
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01087459
Message ID:
01087459
Vues:
59
Hello,

Here is the code from VFP help:
STORE SQLSTRINGCONNECT('dsn=MyFoxSQLNT;uid=myUserID;pwd=myPassword')
   TO gnConnHandle
IF gnConnHandle < 0
   = MESSAGEBOX('Cannot make connection', 16, 'SQL Connect Error')
ELSE
   = MESSAGEBOX('Connection made', 48, 'SQL Connect Message')
   = SQLDISCONNECT(gnHandle)
ENDIF
But if SQL server is stopped, then "Microsoft SQL Server Login" messagebox appears before my messagebox. How disable this standart messagebox?

Thanks,
Giedrius
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform