This is a code snippet that works in ND3, but fails in ND4. Does anyone know
of another way to change the login/password of the data source (in effect,
restablishing the connection or perhaps establishing a second connection).
Thanks,
Paul.
>
>CSpDBConnection conn = new CSpDBConnection ( "SYBASE", "SYB_MPD",
> login, password, "MPD", false, CSpider.getSessionId());
>
>CSpDBSQLRequest request = new CSpDBSQLRequest ();
>request.setDBConnection(conn);
>
>CSpSelect doLogin = (doLogin) CSpider.getDataObject( "doLoginCheck" );
>
>loginCheck.execute(request);
>
>if (loginCheck.succeeded()) {
> .... // we're not succeeding
>} else {
> .... // we land here!!!
>}
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]