| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ErrorClass > ErrorClass Methods >====== GetKeyName (get key name that produced the error) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[gethistoryviewlevel get error history viewing mode .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getlogerrors get state of error log .htm|{{btn_next_n.gif|Next page}}]] | | || **GetKeyName(**// //**)** {{blk2blue.jpg|blk2blue.jpg}} | **GetKeyName** | Returns the name of the key that produced the error. | **GetKeyName** returns the name of the key that produced the error. The SetKey method sets the value of the ErrorStatusGroup **KeyName** private property. The **KeyName** value then replaces any %Key symbols within the error message text. **Return Data Type:**     STRING **See Also:** [[setkeyname set the key name that produced the error .htm|SetKeyName]] , [[keyname key that produced the error .htm|KeyName]]