u can use like this...

CSpDBResultStatus resultStatus = CSpDataObject.executeImmediate("dsJCS",
strInsert).getResultStatus();

if (resultStatus.getVendorErrorCode1() != 0 )
{
        funShowError("Failed to Insert Record", "DataBase Error: " +
resultStatus.getVendorErrorCode1() + "---" +
resultStatus.getVendorErrorMessage1(), this);
        return (STOP);
}

-----Original Message-----
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 25, 1999 8:52 PM
To: 'Shankar Roy'; NetDynamics Support
Subject: Re: [ND] Results from executeImmediate


Shankar,

The fields are not bound to any data object.

-Nimmi

-----Original Message-----
From: Shankar Roy [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 25, 1999 6:27 AM
To: NetDynamics Support; Shamdasani Nimmi-ANS004
Subject: Re: [ND] Results from executeImmediate


I think your field bound to the data object is sending null values and your
data fields have been set to
 OnEmptyValue "Exclude"
Try with changing it to "Send NULL"

Shankar.
> ----------
> From:         Shamdasani Nimmi-ANS004[SMTP:[EMAIL PROTECTED]]
> Sent:         Thursday, June 24, 1999 9:57 PM
> To:   'NetDynamics'
> Subject:      [ND] Results from executeImmediate
>
> How can one check if the insert or update using executeImmediate was
> successful or not? Checking errorcode obtained from
> getResultStatus().getErrorCode() for SUCCESS or END_OF_FETCH comes out to
> be
> true even when the insert/update was unsuccessful.
>
> -Nimmi
>
> _________________________________________________________________________
>
> 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]
>
_________________________________________________________________________

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]
_________________________________________________________________________

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]

_________________________________________________________________________

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]

Reply via email to