Progress
ADM 2 Reference


addMessage (smart.p)

Inserts the message text into a data message log along with its Field, and Table if known.

Parameters:

INPUT pcText AS CHARACTER

Text of the message.

INPUT pcField AS CHARACTER

The field name for which the message occurred, if it was related to a specific field.

INPUT pcTable AS CHARACTER

The database table for which the message occurred, if it was related to an update to a database table.

Returns: Nothing (procedure)

Notes:

Examples:

/*  This example adds a specific message to the log for the SDO field 
    whose name is stored in the variable cField, for no particular 
    database table. */ 
RUN addMessage("This operation could not be completed.":U, cField, ?). 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095