ErrorMessage - cBaseWebComponent

Returns the error message for an index in the error queue

Type: Function

Return Data Type: String

Parameters: Integer iItem

ParameterDescription
iItemIndex item number (zero-based)


Return Value


Syntax
Function ErrorMessage Integer iItem Returns String

Call: Get ErrorMessage iItem to StringVariable


Description

ErrorMessage returns the error message for a zero based item in the error queue. When used by a cWebAspClassicObject object, the message will be HTML encoded.

See ErrorQueueStart for more information on queued errors.