public void openOtherRecords()
    {
        super.openOtherRecords();
        Record recContactType = ((ReferenceField)this.getMainRecord().getField(MessageDetail.CONTACT_TYPE_ID)).getReferenceRecord(this);
    }
public void openOtherRecords ( ) { super . openOtherRecords ( ) ; Record recContactType = ( ( ReferenceField ) this . getMainRecord ( ) . getField ( MessageDetail . CONTACT_TYPE_ID ) ) . getReferenceRecord ( this ) ; }
Override this to open the other files in the query.