/** * Override this to open the other files in the query. */ public void openOtherRecords() { super.openOtherRecords(); if (m_recHeader != null) this.addRecord(m_recHeader, false); else { String strType = this.getProperty(TourHeaderOption.TOUR_OR_OPTION); if (TourHeaderOption.OPTION.equals(strType)) m_recHeader = new TourHeaderOption(this); else m_recHeader = new TourHeader(this); } ((ReferenceField)this.getMainRecord().getField(TourHeaderOption.TOUR_OR_OPTION_ID)).setReferenceRecord(m_recHeader); } /**
/** * Override this to open the other files in the query. */ public void openOtherRecords() { super.openOtherRecords(); if (m_recHeader != null) this.addRecord(m_recHeader, false); else { String strType = this.getProperty(TourHeaderOption.TOUR_OR_OPTION); if (TourHeaderOption.OPTION.equals(strType)) m_recHeader = new TourHeaderOption(this); else m_recHeader = new TourHeader(this); } ((ReferenceField)this.getMainRecord().getField(TourHeaderOption.TOUR_OR_OPTION_ID)).setReferenceRecord(m_recHeader); } /**