/** * Called when a valid record is read from the table/query. * Enables or disables the target field(s). * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) // Init this field override for other value { this.setEnabled(m_bEnableOnValid); super.doValidRecord(bDisplayOption); } /**
/** * Called when a valid record is read from the table/query. * Enables or disables the target field(s). * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) // Init this field override for other value { this.setEnabled(m_bEnableOnValid); super.doValidRecord(bDisplayOption); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); m_iLastCheckNo++; m_fldCount.setValue(m_iLastCheckNo); } /**
/** * Called when a valid record is read from the table/query. * Grab the old value of the field in case there is a change. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); m_dOldValue = this.getFieldValue(); // Old value (in case of change) } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. * Synchronize records after a dovalid. */ public void doValidRecord(boolean bDisplayOption) { // Sync on a read also super.doValidRecord(bDisplayOption); this.syncRecords(); } /**
/** * Called when a valid record is read from the table/query. * Re-read the sub-file on change. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); this.recountRecords(); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. * Synchronize records after a dovalid. */ public void doValidRecord(boolean bDisplayOption) { // Sync on a read also super.doValidRecord(bDisplayOption); this.syncRecords(); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. * Synchronize records after a dovalid. */ public void doValidRecord(boolean bDisplayOption) { // Sync on a read also super.doValidRecord(bDisplayOption); this.syncRecords(); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) // init this field override for other value { super.doValidRecord(bDisplayOption); if (m_field != null) m_bOrigLockFlag = m_field.getState(); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) // init this field override for other value { super.doValidRecord(bDisplayOption); if (m_field != null) m_bOrigLockFlag = m_field.getState(); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) // init this field override for other value { super.doValidRecord(bDisplayOption); if (m_field != null) m_bOrigLockFlag = m_field.getState(); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); m_pBookingComm.moveFieldToThis(m_pAmAffil.getField(Affiliation.AGENT_COMM), bDisplayOption, DBConstants.SCREEN_MOVE); }
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { m_iOldPricingStatusID = (int)this.getOwner().getField(BookingLine.PRICING_STATUS_ID).getValue(); super.doValidRecord(bDisplayOption); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); Date dateSrc = m_fldSourceDate.getDateTime(); Date dateDest = this.calcDate(dateSrc); m_fldDestDate.setDateTime(dateDest, bDisplayOption, DBConstants.SCREEN_MOVE); }
/** * DoValidRecord Method. */ public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); if (!this.isCached()) { this.doFirstValidRecord(bDisplayOption); this.putCacheField(); } } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); m_properties = ((PropertiesField)this.getOwner().getField(UserInfo.kProperties)).getProperties(); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); this.setOldGroupID((int)this.getOwner().getField(UserPermission.kUserGroupID).getValue()); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); this.setOldGroupID((int)this.getOwner().getField(UserPermission.USER_GROUP_ID).getValue()); } /**
/** * Called when a valid record is read from the table/query. * @param bDisplayOption If true, display any changes. */ public void doValidRecord(boolean bDisplayOption) { m_iOriginalMessageTransportID = (int)this.getOwner().getField(MessageDetail.kMessageTransportID).getValue(); m_iOriginalDefaultMessageTransportID = (int)this.getOwner().getField(MessageDetail.kDefaultMessageTransportID).getValue(); super.doValidRecord(bDisplayOption); } /**
public void doValidRecord(boolean bDisplayOption) { super.doValidRecord(bDisplayOption); boolean bEnabledState = false; if (this.getOwner().getField(TourHeader.TOUR_SERIES).getState() == true) bEnabledState = true; if (this.getOwner().getField(TourHeader.TOUR_SERIES).isNull()) // Unknown type bEnabledState = true; setAppending(bEnabledState); } });