docs: public int dataToFields(Rec record) throws DBException
      {
          int iFieldCount = record.getFieldCount();      // Number of fields to read in
          for (int iFieldSeq = Constants.MAIN_FIELD; iFieldSeq < iFieldCount + Constants.MAIN_FIELD; iFieldSeq++)
          {
              Field field = record.getField(iFieldSeq);
              if (field.isVirtual()) //x|| (!field.isSelected()))
                  field.initField(Constants.DONT_DISPLAY);
              else
                  this.dataToField(field);
          }
          return Constants.NORMAL_RETURN;
      }