code: public void add(Rec fieldList) throws DBException
      {
          if (this.getBaseRecord() == fieldList)    // If so, set the correct record for write
              fieldList = this.moveToCurrentRecord((Record)fieldList);   // Hopefully, they supplied a default record type and this will switch it.
          if (fieldList == null)
              throw new DBException("Unknown shared record type");
          if (fieldList == this.getBaseRecord())
              super.add(fieldList);
          else
          {
              this.getBaseRecord().matchListeners((Record)fieldList, false, true, true, true, true);      // Clone the listeners that are not there already.
              fieldList.getTable().add(fieldList);
          }
      }
docs: Add this record (Always called from the record class).
  @exception DBException File exception.