Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How handle
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01087459
Message ID:
01087460
Views:
10
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform