docs: public int moveFieldToThis(BaseField field, boolean bDisplayOption, int iMoveMode)
      {   // Save the record and datarecord.
          if (field == null)
              return DBConstants.NORMAL_RETURN;
          if (field instanceof CounterField)
          {
              if (this.getReferenceRecord(null, false) == null)
                  if (field.getRecord().getListener(ClearFieldReferenceOnCloseHandler.class) == null) // While it is okay to have two fields reference on record, don't default it.
                      this.setReferenceRecord(field.getRecord());
          }
          else if (field instanceof ReferenceField)
          {
  //x no           this.setReferenceRecord(((ReferenceField)field).getReferenceRecord());
          }
          else
              this.setReferenceRecord(null);
          return super.moveFieldToThis(field, bDisplayOption, iMoveMode);
      }