public int fieldChanged(boolean bDisplayOption, int iMoveMode) { if (iMoveMode != DBConstants.SCREEN_MOVE) // This is necessary if an override change the repondsTo. // Also, if just refreshing the record, don't change this if set if ((m_bChangeDataOnRefresh) || ((this.getOwner().getRecord().getOpenMode() & DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE) != DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE)) if ((this.getOwner().getRecord().getOpenMode() & DBConstants.OPEN_DONT_UPDATE_LAST_READ) != DBConstants.OPEN_DONT_UPDATE_LAST_READ) // This is a special case where I want a subsequent write to get an error if changed this.setOriginalData(this.getOwner().getData()); return super.fieldChanged(bDisplayOption, iMoveMode); } /**
public int fieldChanged(boolean bDisplayOption, int iMoveMode) { if (iMoveMode != DBConstants.SCREEN_MOVE) // This is necessary if an override change the repondsTo. // Also, if just refreshing the record, don't change this if set if ((m_bChangeDataOnRefresh) || ((this.getOwner().getRecord().getOpenMode() & DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE) != DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE)) if ((this.getOwner().getRecord().getOpenMode() & DBConstants.OPEN_DONT_UPDATE_LAST_READ) != DBConstants.OPEN_DONT_UPDATE_LAST_READ) // This is a special case where I want a subsequent write to get an error if changed this.setOriginalData(this.getOwner().getData()); return super.fieldChanged(bDisplayOption, iMoveMode); } /**
public int fieldChanged(boolean bDisplayOption, int iMoveMode) { if (iMoveMode != DBConstants.SCREEN_MOVE) // This is necessary if an override change the repondsTo. // Also, if just refreshing the record, don't change this if set if ((m_bChangeDataOnRefresh) || ((this.getOwner().getRecord().getOpenMode() & DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE) != DBConstants.OPEN_DONT_CHANGE_CURRENT_LOCK_TYPE)) if ((this.getOwner().getRecord().getOpenMode() & DBConstants.OPEN_DONT_UPDATE_LAST_READ) != DBConstants.OPEN_DONT_UPDATE_LAST_READ) // This is a special case where I want a subsequent write to get an error if changed this.setOriginalData(this.getOwner().getData()); return super.fieldChanged(bDisplayOption, iMoveMode); } /**