GetLastErrText Method for an Application

The GetLastErrText method returns a string that contains the text message for the error that Siebel CRM logged most recently.

Format

Application.GetLastErrText

No arguments are available.

Usage for the GetLastErrText Method

The text that the GetLastErrText method returns includes a Siebel error code that you can use to investigate the error. For more information, see GetLastErrCode Method for an Application. For more information about a specific error, see My Oracle Support.

Used With

COM Data Control, COM Data Server, Mobile Web Client Automation Server

Examples

The following example is for COM Data Control:

errcode = SiebelApplication.GetLastErrCode
If errcode <> 0 Then
   ErrText = SiebelApplication.GetLastErrText
   MsgBox ErrText
   Exit Sub
End If