PreviousNextIndex

AddMessage( ) method

Adds a message to the AppError object with the values from the ErrorMessage and MessageNumber arguments to the end of the message list. Your application provides the message number and text. Access error messages and message numbers with the GetMessage( ) and GetMessageNum( ) methods. This method increments the NumMessages property on the AppError by 1.

Return type: VOID

Access: PUBLIC

Applies to: Progress.Lang.AppError class

Syntax
AddMessage( INPUT ErrorMessage  AS CHARACTER, 
            INPUT MessageNumber AS INTEGER ) 


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex