The GetError method retrieves the message text of an error sent from the host application.
Note: Component Enabler does not make any distinction between the different forms of the ME command. Any message generated as a result of a ME command is regarded as an error by Component Enabler.
Syntax
Object.GetError(ErrorNo)
<Object> is an expression that evaluates to an instance of a Component Enabler connection object.
<ErrorNo> is the integer value of the error number to retrieve.
Returns
A string value containing the error message requested.
Example
For iCount = 1 to LINCAPP.NoErrors MsgBox LINCAPP.GetError(iCount) Next iCount
This example displays each Agile Business Suite error message in a separate message box.