Move this Field's data to the record area (Override this for non-standard buffers).
Warning: Check to make sure the field.isSelected() before moving data!
@param field The field to move the current data to.
@exception DBException File exception.
348812
public void fieldToData(Field field) throws DBException
    {
        ((BaseBuffer)this.getHandle(DBConstants.DATA_SOURCE_HANDLE)).addNextField((FieldInfo)field);
    }
764669
public void set(Rec record) throws DBException
    {
        if ((this.getRecord().getEditMode() != Constants.EDIT_CURRENT)
            && ((this.getRecord().getEditMode() != Constants.EDIT_IN_PROGRESS)))
                throw new DBException(Constants.INVALID_RECORD);
        m_record = (FieldList)record;
        this.fieldsToData(record);
        this.doSet(record);
        this.setDataSource(null);
        this.getRecord().setEditMode(Constants.EDIT_NONE);
    }
542354
public void moveSQLToField(ResultSet resultset, int iColumn) throws SQLException
    {
        double dResult = resultset.getDouble(iColumn);
        if (resultset.wasNull())
            this.setString(Constants.BLANK, false, DBConstants.READ_MOVE);  // Null value
        else
        {
            if ((!this.isNullable()) && (dResult == Double.NaN))
                this.setString(Constants.BLANK, false, DBConstants.READ_MOVE);  // Null value
            else
                this.setValue(dResult, false, DBConstants.READ_MOVE);
        }
    }
415593
public int putRawFieldData(Convert field)
    {
        if (field != null)
        {
            if (this.getKey() == null)
                this.setKey(field.getFieldName());
            this.put(field.getData());
            return Constant.NORMAL_RETURN;
        }
        return Constant.NORMAL_RETURN;	// For now, ignore field not found
    }
522456
public void initKeyAreas(FieldTable table) throws DBException
    {
        if (m_VKeyList == null)
        {
            m_VKeyList = new Vector<PKeyArea>();
            // Now, copy the keys
            for (int iKeyArea = Constants.MAIN_KEY_AREA; iKeyArea <= table.getRecord().getKeyAreaCount() + Constants.MAIN_KEY_AREA - 1; iKeyArea++)
            {
                this.makePKeyArea(table);
            }
        }
    }
839077
public void updateField(String strFieldName, Object objData)
    {
        try   {
            FieldInfo fieldInfo = m_table.getRecord().getField(strFieldName);
            if (fieldInfo != null)
            {
                m_table.edit();
                fieldInfo.setData(objData);
                m_table.set(m_table.getRecord());
                m_table.seek(null);   // Read this record
            }
        } catch (Exception ex)  {
            ex.printStackTrace();
        }
    }
1030322
public void saveCurrentKeys(FieldTable table, BaseBuffer bufferToSave, boolean bResetKeys) throws DBException
    {
        if (bufferToSave != null)
            bufferToSave.bufferToFields(table.getRecord(), Constants.DONT_DISPLAY, Constants.READ_MOVE);
        for (int iKeyArea = Constants.MAIN_KEY_AREA; iKeyArea < table.getRecord().getKeyAreaCount() + Constants.MAIN_KEY_AREA; iKeyArea++)
        { // Save the current keys
            KeyAreaInfo keyArea = table.getRecord().getKeyArea(iKeyArea);
            if (bResetKeys)
                keyArea.zeroKeyFields(Constants.TEMP_KEY_AREA);
            else
                keyArea.setupKeyBuffer(null, Constants.TEMP_KEY_AREA);
        }
    }
1365522
public void moveSQLToField(ResultSet resultset, int iColumn) throws SQLException
    {
        boolean bResult = false;
        if (DBConstants.TRUE.equals(this.getRecord().getTable().getDatabase().getProperties().get(SQLParams.BIT_TYPE_SUPPORTED)))
            bResult = resultset.getBoolean(iColumn);
        else
            bResult = resultset.getByte(iColumn) == 0 ? false: true;
        if (resultset.wasNull())
            this.setString(Constants.BLANK, false, DBConstants.READ_MOVE);  // Null value
        else
            this.setState(bResult, false, DBConstants.READ_MOVE);
    }
1157167
public function deleteRecord($tableName, $value, $field)
    {
        try {
            $this->db->deleteRecord($tableName, $value, $field);
        } catch (\Exception $e) {
            throw new DbException($e->getMessage());
        }
    }
174922
public FieldList move(int iRelPosition) throws DBException
    {
        this.setCurrentRecord(this.getBaseRecord());
        boolean bAfterRequery = !this.getBaseRecord().isOpen();
        if (!this.isOpen())
            this.open();    // Make sure any listeners are called before disabling.
        Object[] rgobjEnabledFields = this.getBaseRecord().setEnableNonFilter(null, false, false, false, false, true);
        try {
            Record record = (Record)super.move(iRelPosition);
            if (record == null)
                return null;

            this.getBaseRecord().setEnableNonFilter(rgobjEnabledFields, true, false, bAfterRequery, false, true);
            rgobjEnabledFields = null;
            
      //      this.getBaseRecord().handleValidRecord(); // Display Fields (handleValidRecord this was done in setEnableNonFilter)
            record = this.moveToCurrentRecord(record);
            if (record != null) if (record != this.getBaseRecord())
                record.handleValidRecord(); // Display Fields

            return record;
        } catch (DBException ex)    {
            throw ex;
        } finally {
            if (rgobjEnabledFields != null)
                this.getBaseRecord().setEnableNonFilter(rgobjEnabledFields, false, false, bAfterRequery, true, true);   // EOF
        }
    }
821780
@Override
	public void addField(final SchemaField field) {

		if (field instanceof FieldDefinition) {
			addField((FieldDefinition) field);
		} else if (field instanceof CopyFieldDefinition) {
			addCopyField((CopyFieldDefinition) field);
		}
	}
511029
protected void setField(Field field, Object object) throws IllegalAccessException {
		dataObject.setField(field, object);
	}
924140
public final void clear(int field)
    {
        if (areFieldsVirtuallySet) {
            computeFields();
        }
        fields[field] = 0;
        stamp[field] = UNSET;
        isTimeSet = areFieldsSet = areAllFieldsSet = areFieldsVirtuallySet = false;
    }
36973
public void set(Rec fieldList) throws DBException
    {
        Record recBase = this.getBaseRecord();
        Record recCurrent = this.getCurrentRecord();
        if (fieldList != recBase)
        {
            if (fieldList != recCurrent)
                throw new DBException("Can't change record class then add");
        }
        else
        {
            if (recBase != recCurrent)
                if (recCurrent.isModified())
                    this.copyRecordInfo(recBase, recCurrent, false, true);
            fieldList = this.moveToCurrentRecord((Record)fieldList);
        }
        if (fieldList != recBase)
        {
            this.getBaseRecord().matchListeners(this.getCurrentRecord(), false, true, true, true, true);      // Clone the listeners that are not there already.
            fieldList.getTable().set(fieldList);
        }
        else
            super.set(fieldList);   // Never (hopefully)
        // Note, since target record is passed, add listeners are called on the correct record
    }
190137
public void handleValidRecord(boolean bDisplayOption)               // init this field override for other value
    {
        // Now, Notify all the fields that they have new data 
        int iFieldSeq;
        BaseField field = null;
        int iLastField = this.getFieldCount() + DBConstants.MAIN_FIELD - 1;   // Are these lines really needed?

        for (iFieldSeq = DBConstants.MAIN_FIELD; iFieldSeq <= iLastField; ++iFieldSeq)
        {
            field = this.getField(iFieldSeq);
            field.handleFieldChanged(bDisplayOption, DBConstants.READ_MOVE);        // Do BaseField Changed Behaviors
        }
        BaseListener nextListener = this.getNextEnabledListener();
        while (nextListener != null)
        {
            boolean bOldState = nextListener.setEnabledListener(false);  // Don't allow it to be called again
            ((FileListener)nextListener).doValidRecord(bDisplayOption);
            nextListener.setEnabledListener(bOldState);
            nextListener = nextListener.getNextEnabledListener();
        }
        this.doValidRecord(bDisplayOption);
        
        for (iFieldSeq = DBConstants.MAIN_FIELD; iFieldSeq <= iLastField; ++iFieldSeq)
        {
            field = this.getField(iFieldSeq);
            field.setModified(false);   // At this point, no changes have been done
            if (bDisplayOption)
                field.displayField();   // Display this field
        }
    }
1295008
public synchronized void open(FieldTable table) throws DBException
    {
        if (m_VKeyList == null)
            this.initKeyAreas(table);
        this.saveCurrentKeys(table, null, true);
    }
142710
public void moveSQLToField(ResultSet resultset, int iColumn) throws SQLException
    {
        java.util.Date dateResult = resultset.getDate(iColumn);
        if (resultset.wasNull())
            this.setString(Constants.BLANK, false, DBConstants.READ_MOVE);  // Null value
        else
            this.setValue((double)dateResult.getTime(), false, DBConstants.READ_MOVE);
    }