public void moveupFieldData ( FieldData fieldInfo ) { // Move these fields up to the field passed in BaseField field ; String thisFieldStr ; int count = fieldInfo . getFieldCount ( ) + DBConstants . MAIN_FIELD ; for ( int i = DBConstants . MAIN_FIELD ; i < count ; i ++ ) { field = fieldInfo . getField ( i ) ; if ( field . getString ( ) . length ( ) == 0 ) { thisFieldStr = m_FieldData . getField ( i ) . getString ( ) ; if ( thisFieldStr . length ( ) != 0 ) field . setString ( thisFieldStr ) ; } } }
Move FieldData2 fields to empty FieldData fields .