Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to suppress ODBC error?
Message
 
 
To
21/08/2001 13:18:55
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00546860
Message ID:
00546872
Views:
17
Before you call SQLConnect turn off the display of ODBC error messages
SQLSETPROP(0,'DispWarnings',.F.)
>Dear friends,
>I want to use VFP 6.0 to connect to SQL Server 7.0 backend database. SQLConnect() function does the job and returns the connection handle if connect is successful. The problem is that if the connection cannot be made and the function returns error (-1), an ODBC error message is automatically displayed.
>
>Can you tell me how to suppress this message? Setting on error / notify etc does not work.
>
>Anil
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform