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

>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,
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform