code: public void init(BaseDatabase database, Record record)
      {
          m_tableNext = null;
          database = null;    // Use the database of the last table on the chain!
          super.init(database, record);
          if (record.getTable() != this)
              m_tableNext = record.getTable();
          record.setTable(this);  // Make sure the record sees me first
      }
docs: Initialize the table.
  Adds the record's current table to my chain, and sets the record's table to this new table.
  @param database Should be null, as the last table on the chain contains the database.
  @param record The record's current table will be changed to this table and moved down my list.