Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >

GetLastErrText


The GetLastErrText method returns the last error text message.

Syntax

Application.GetLastErrText

Argument
Description
Not applicable
 

Returns

The last error text message as a string

Used With

COM Data Control, COM Data Server, CORBA Object Manager, Mobile/Dedicated Web Client Automation Server, Web Client Automation Server

Example

Here is an example using the COM Data Control:

errcode = SiebelApplication.GetLastErrCode
If errcode <> 0 Then
   ErrText = SiebelApplication.GetLastErrText
   TheApplication().RaiseErrorText(ErrText);
   Exit Sub
End If

See Also

GetLastErrCode


 Siebel Object Interfaces Reference 
 Published: 18 June 2003