if (m_recordMain != null) ReferenceField fieldThisRecord = this.getOwner().getReferenceField(m_recordMain); if (fieldThisRecord != null) if (fieldThisRecord.getReferenceRecord(null, false) == null) this.getOwner().setKeyArea(fieldThisRecord); if (this.getOwner().getRecordOwner() != null) if (m_recordMain.getRecordOwner() != null) if (this.getOwner().getRecordOwner() != m_recordMain.getRecordOwner()) fieldThisRecord.addListener(new InitIfSubFieldHandler(null)); this.getOwner().setKeyArea(m_iKeyOrder); if (m_fldMainFile != null) m_fldThisFile = this.getOwner().getKeyArea().getField(0); if (m_fldMainFile2 != null) m_fldThisFile2 = this.getOwner().getKeyArea().getField(1); if (m_fldMainFile3 != null) m_fldThisFile3 = this.getOwner().getKeyArea().getField(2);
if (m_recordMain != null) ReferenceField fieldThisRecord = this.getOwner().getReferenceField(m_recordMain); if (fieldThisRecord != null) if (fieldThisRecord.getReferenceRecord(null, false) == null) this.getOwner().setKeyArea(fieldThisRecord); if (this.getOwner().getRecordOwner() != null) if (m_recordMain.getRecordOwner() != null) if (this.getOwner().getRecordOwner() != m_recordMain.getRecordOwner()) fieldThisRecord.addListener(new InitIfSubFieldHandler(null)); m_strKeyName = this.getOwner().getKeyArea().getKeyName(); if (m_strKeyName != null) this.getOwner().setKeyArea(m_strKeyName); if (m_fldMainFile != null) m_fldThisFile = this.getOwner().getKeyArea().getField(0); if (m_fldMainFile2 != null) m_fldThisFile2 = this.getOwner().getKeyArea().getField(1); if (m_fldMainFile3 != null) m_fldThisFile3 = this.getOwner().getKeyArea().getField(2);
if (m_recordMain != null) ReferenceField fieldThisRecord = this.getOwner().getReferenceField(m_recordMain); if (fieldThisRecord != null) if (fieldThisRecord.getReferenceRecord(null, false) == null) this.getOwner().setKeyArea(fieldThisRecord); if (this.getOwner().getRecordOwner() != null) if (m_recordMain.getRecordOwner() != null) if (this.getOwner().getRecordOwner() != m_recordMain.getRecordOwner()) fieldThisRecord.addListener(new InitIfSubFieldHandler(null)); this.getOwner().setKeyArea(m_iKeyOrder); if (m_fldMainFile != null) m_fldThisFile = this.getOwner().getKeyArea().getField(0); if (m_fldMainFile2 != null) m_fldThisFile2 = this.getOwner().getKeyArea().getField(1); if (m_fldMainFile3 != null) m_fldThisFile3 = this.getOwner().getKeyArea().getField(2);
ReferenceField fieldThisRecord = this.getOwner().getReferenceField(m_recordMain); if (m_bRefreshLastIfNotCurrent) if (m_recordMain.getEditMode() == DBConstants.EDIT_NONE)
ReferenceField fieldThisRecord = this.getOwner().getReferenceField(m_recordMain); if (m_bRefreshLastIfNotCurrent) if (m_recordMain.getEditMode() == DBConstants.EDIT_NONE)
ReferenceField fieldThisRecord = this.getOwner().getReferenceField(m_recordMain); if (m_bRefreshLastIfNotCurrent) if (m_recordMain.getEditMode() == DBConstants.EDIT_NONE)
if (subFileFilter.getOwner() instanceof BookingDetail) date = ((DateTimeField)subFileFilter.getOwner().getField(BookingDetail.DETAIL_DATE)).getDateTime(); if (date == null) date = ((DateTimeField)subFileFilter.getOwner().getTable().getCurrentTable().getRecord().getField(BookingDetail.DETAIL_DATE)).getDateTime(); if (date != null) break; // Found, done
if (subFileFilter.getOwner() instanceof BookingDetail) date = ((DateTimeField)subFileFilter.getOwner().getField(BookingDetail.DETAIL_DATE)).getDateTime(); if (date == null) date = ((DateTimeField)subFileFilter.getOwner().getTable().getCurrentTable().getRecord().getField(BookingDetail.DETAIL_DATE)).getDateTime(); if (date != null) break; // Found, done