Event fired after the rowset successfully enters Append mode.

Parameters

none

Property of

Rowset

Description

A rowset may be put in Append mode explicitly by calling its beginAppend( ) method, or implicitly via the user interface by choosing Append Row from the default Table menu or toolbar while editing table rows. While the canAppend event fires first to see if the new append actually takes place, onAppend fires after the row buffer has been cleared and is ready for new values.

You can use onAppend to do things like automatically time stamp the new row or fill in default values. If you use onAppend to set field values, set the modified property to false at the end of the event handler to indicate that the row hasn’t been changed by the user. This way, if the user does not add any more data, the row will not be saved automatically if they navigate to another row or try to append another.