Progress
ADM 2 Reference
fetchMessages (smart.p)
Returns a delimited list of all messages in their raw form. The message log is cleared.
Parameters: NoneReturns: CHARACTER (specially formatted message string)Notes:
- The fetchMessage procedure 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).
- As noted, the fetchMessages function clears the message log; it is therefore the responsibility of the calling procedure to display the messages or otherwise deal with them. Use the similar function reviewMessages to read messages without deleting them.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |