Information générale
Titre:
ConnectionManager bug ?
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement