docs: public int fieldChanged(boolean bDisplayOption, int iMoveMode)
      {
          int iErrorCode = DBConstants.NORMAL_RETURN;
          Record record = this.getOwner().getRecord();
          if (record != null)
          {
              try   {
                  Object varBookmark = null;
                  if (record.getEditMode() == DBConstants.EDIT_IN_PROGRESS)
                  { // Update the record
                      if (m_bRefreshAfterWrite)
                          varBookmark = record.getHandle(DBConstants.DATA_SOURCE_HANDLE);
                      record.set();
                  }
                  else if (record.getEditMode() == DBConstants.EDIT_ADD)
                  {
                      record.add();
                      if (m_bRefreshAfterWrite)
                          varBookmark = record.getLastModified(DBConstants.DATA_SOURCE_HANDLE);
                  }
                  if (varBookmark != null)
                  {
                      record.setHandle(varBookmark, DBConstants.DATA_SOURCE_HANDLE);
                      record.edit();
                  }
              } catch (DBException ex)    {
                  ex.printStackTrace();
                  iErrorCode = ex.getErrorCode();
              }
          }
          return iErrorCode;
      }