The following onSave event handler calls the rowset’s flush( ) method to make sure that the data is written to disk as each record is saved:

function Rowset_onSave

   this.flush( )