docs: public int edit() throws DBException
      {
          if ((this.getRecord().getEditMode() != Constants.EDIT_CURRENT)
              && (this.getRecord().getEditMode() != Constants.EDIT_IN_PROGRESS))
              throw new DBException(Constants.INVALID_RECORD);
          int iErrorCode = this.doEdit(); // Only call if edit is supported by remote db
          if (iErrorCode == Constants.NORMAL_RETURN)
              this.getRecord().setEditMode(Constants.EDIT_IN_PROGRESS);
          return iErrorCode;
      }