code: 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;
      }
docs: Move the data source buffer to all the fields.
  <p /><pre>
  Make sure you do the following steps:
  1) Move the data fields to the correct record data fields, with mode Constants.READ_MOVE.
  2) Set the data source or set to null, so I can cache the source if necessary.
  3) Save the objectID if it is not an Integer type, so I can serialize the source of this object.
  </pre>
  @exception Exception File exception.
  @return Any error encountered moving the data.