| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ErrorClass > ErrorClass Methods >====== SetMessageText (set the current error message text) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[setlogerrors set error log mode .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[setprocedurename stores procedure names.htm|{{btn_next_n.gif|Next page}}]] | | || **SetMessageText (**// message //**)** {{blk2blue.jpg|blk2blue.jpg}} | **SetMessageText** | Sets the message text that replaces any %Message symbols within the active error message text. | | //message// | A STRING constant, variable, EQUATE, or expression that sets the message text to use in the current error message text. | **Set****MessageText** sets the value of the ErrorStatusClass **MessageText** private property. The //message// value replaces any %Message symbols within the current error message text. The ThrowMessage method sets the value of the MessageText property. The MessageText value then replaces any %Message symbols within the error message text. **See Also:** [[getmessagetext get current error message text .htm|GetMessageText]] , [[messagetext custom error message text .htm|MessageText]]