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

Click here to load this message in the networking platform