Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >

GetLastErrText Method


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, Mobile/Dedicated Web Client Automation Server, Web Client Automation Server

Example

The following example is for COM Data Control. SiebelApplication is an Application instance.

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

See Also

GetLastErrCode Method

Siebel Object Interfaces Reference