Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
StringConnect Warning message - prevent display?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00774431
Message ID:
00774435
Views:
13
Tom,

You can turn off display of ODBC errors
SQLSETPROP(0,"DispWarnings", .F.)
IF SQLStringConnect(...) < 1
  AERROR(...)
  * process ODBC error
ENDIF
>I am doing a SQLStringConnect() and get a warning message 1480: "The connection sync/async mode cannot be set"
>
>It seems to work despite the warning, but creates this dialog box which I don't want to show the user. Funny but, ON ERROR * does nothing, and it doesn't go to my Error method either. How can I get rid of this message?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform