The following onClick event handler for an Abandon button calls the abandon( ) method for the form’s primary rowset:

function abandonButton_onClick( )

   form.rowset.abandon( )