Progress
ADM 2 Reference
reviewMessages (smart.p)
Returns a delimited list of all messages without removing them from the log.
Parameters: NoneReturns: CHARACTER (Specially delimited message list.)Notes:
- reviewMessages is not normally expected to be used by application code. The showDataMessages function can be used (and customized if desired) to parse this specially formatted message string into a series of error messages.
- The message list is delimited by CHR(3); within each message, the Message Text, the Field (if any), and the Table (if any) are delimited by CHR(4).
- reviewMessages is intended to be used in situations where it is necessary to examine messages in the error log without deleting them, so that some other procedure can later process them. Use the similar function fetchMessages to read messages and simultaneously delete them from the log. Note that if all that is needed is to determine if there are any messages in the log, the anyMessage function can be used.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |