| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ErrorClass > ErrorClass Properties >====== FileName (file that produced the error) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[fieldname field that produced the error .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[history error history structure 1.htm|{{btn_next_n.gif|Next page}}]] | | || | | **FileName** | **CSTRING(MessageMaxlen), PRIVATE** | {{blk2blue.jpg|blk2blue.jpg}} The **FileName **property contains the name of the file that produced the error. The SetFile and ThrowFile methods both set the value of the ErrorStatusGroup.FileName private property. The FileName value then replaces any %File symbols within the error message text. MessageMaxlen is a constant EQUATE declared in ABERROR.INC. **See Also:**     [[setfile set the substitution value of the file macro .htm|SetFile]], [[throwfile set value of file then process error .htm|ThrowFile]]