| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ErrorClass > ErrorClass Methods >====== SetFieldName (set field name that produced the error) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[setfield set the substitution value of the field macro .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[setfile set the substitution value of the file macro .htm|{{btn_next_n.gif|Next page}}]] | | || **SetFieldName(**// fieldname //**)** {{blk2blue.jpg|blk2blue.jpg}} | **SetFieldName** | Sets the name of the field that replaces any %Field symbols within the active error message text. | | //Fieldname// | A STRING constant, variable, EQUATE, or expression that sets the field name to use in the current error message text. | **SetFieldName** sets the value of the ErrorStatusGroup **FieldName** private property. The //fieldname// value replaces any %Field symbols within the current error message text. **See Also:** [[getfieldname get field that produced the error .htm|GetFieldName]] , [[fieldname field that produced the error .htm|FieldName]]