public boolean isChangeToNewID ( Record record ) { Record recClassInfo = this . getRecord ( ClassInfo . CLASS_INFO_FILE ) ; recClassInfo . setKeyArea ( ClassInfo . CLASS_NAME_KEY ) ; recClassInfo . getField ( ClassInfo . CLASS_NAME ) . moveFieldToThis ( record . getField ( ScreenIn . SCREEN_IN_PROG_NAME ) ) ; try { if ( ! recClassInfo . seek ( DBConstants . EQUALS ) ) return false ; } catch ( DBException e ) { e . printStackTrace ( ) ; } return ( recClassInfo . getField ( ClassInfo . CLASS_PROJECT_ID ) . getValue ( ) == 1 ) ; }
Change this to the new ID?