| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ErrorClass > ErrorClass Methods >====== GetFileName (get file that produced the error) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[getfieldname get field that produced the error .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[gethistoryresetonview get the error reset mode .htm|{{btn_next_n.gif|Next page}}]] | | || **GetFileName(**// //**)** {{blk2blue.jpg|blk2blue.jpg}} | **GetFileName** | Returns the name of the file that produced the error. | **GetFileName** returns 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. **Return Data Type:**     STRING **See Also:** [[setfilename set the file that produced the error .htm|SetFileName]], [[filename.htm|FileName]]