public BaseTable doMakeTable(Record record)
    {
        BaseTable table = null;
        boolean bIsQueryRecord = record.isQueryRecord();
        if (m_pDatabase == null)
        {
            try   {
                this.open();
            } catch (DBException ex)    {
                return null;        // No database
            }
        }
        if (bIsQueryRecord)
        { // Physical Tables cannot process SQL queries, so use QueryTable!
            PassThruTable passThruTable = new QueryTable(this, record);
            passThruTable.addTable(record.getRecordlistAt(0).getTable());
            return passThruTable;
        }
        table = this.makePhysicalTable(record);
        return table;
    }
public BaseTable doMakeTable ( Record record ) { BaseTable table = null ; boolean bIsQueryRecord = record . isQueryRecord ( ) ; if ( m_pDatabase == null ) { try { this . open ( ) ; } catch ( DBException ex ) { return null ; } } if ( bIsQueryRecord ) { PassThruTable passThruTable = new QueryTable ( this , record ) ; passThruTable . addTable ( record . getRecordlistAt ( 0 ) . getTable ( ) ) ; return passThruTable ; } table = this . makePhysicalTable ( record ) ; return table ; }
Make a table for this database.
@param record The record to make a table for.
@return BaseTable The new table.