Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ConnectionManager bug ?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
ConnectionManager bug ?
Miscellaneous
Thread ID:
00756235
Message ID:
00756235
Views:
41
Does anybody know if this is a bug or just lack of documentation (or any docs).

If trying to open a SQL connection using ConnectionManager.Open() and the conn string is invalid, either becuase the user typed it in wrong or is just missing (i.e., password), SQL will display a dialog that allows the user to correct the basic string infor (such as id or password). However, if the user hits "Cancel" on MS SQL's dialog, Codemine goes #!@$*.

Is there any way to catch this error before Codemine see it. I have tried setting ConnectionManager.nErrorMode (its undocumented like everything else) but still cannot get it to work. Having 4 error messages and blank dialog form Codemine doesn't look good the customer.

John
Reply
Map
View

Click here to load this message in the networking platform