code: public void remove() throws DBException
      {
          this.syncCurrentToBase();
          boolean[] rgbListenerState = this.getRecord().setEnableListeners(false);
          this.getRecord().handleRecordChange(DBConstants.DELETE_TYPE);   // Fake the call for the grid table
          this.getRecord().setEnableListeners(rgbListenerState);
          
          super.remove();
          this.syncCurrentToBase();
  
          rgbListenerState = this.getRecord().setEnableListeners(false);
          this.getRecord().handleRecordChange(DBConstants.AFTER_DELETE_TYPE);   // Fake the call for the grid table
          this.getRecord().setEnableListeners(rgbListenerState);
      }
docs: Delete this record (Always called from the record class).
  Always override this method.
  @exception DBException File exception.