public void checkLinkedFields()
    {
        if (this.isManualQuery()) // ? Manually set up query?
        { // It is a requirement that all linked fields be selected in case a manual query is needed
            for (Enumeration<TableLink> e = m_LinkageList.elements() ; e.hasMoreElements() ;)
            {
                TableLink tableLink = e.nextElement();
                for (int i = 0; i < 3; i++)
                {
                    if (tableLink.getLeftField(i) != null)
                        tableLink.getLeftField(i).setSelected(true);
                    if (tableLink.getRightField(i) != null)
                        tableLink.getRightField(i).setSelected(true);
                }
            }
        }
    }
public void checkLinkedFields ( ) { if ( this . isManualQuery ( ) ) { for ( Enumeration < TableLink > e = m_LinkageList . elements ( ) ; e . hasMoreElements ( ) ; ) { TableLink tableLink = e . nextElement ( ) ; for ( int i = 0 ; i < 3 ; i ++ ) { if ( tableLink . getLeftField ( i ) != null ) tableLink . getLeftField ( i ) . setSelected ( true ) ; if ( tableLink . getRightField ( i ) != null ) tableLink . getRightField ( i ) . setSelected ( true ) ; } } } }
Make sure all the linked fields are selected.