def tblRefAuthors 
      @headers = %w{RefID PersonID SeqNum AuthorCount LastUpdate ModifiedBy}
      sql = []
      @name_collection.ref_collection.collection.each do |r| 
        r.authors.each_with_index do |x, i|
          cols = {
            RefID: r.id,
            PersonID: x.id,
            SeqNum: i + 1,
            AuthorCount: r.authors.size + 1,
            LastUpdate: @time,
            ModifiedBy: @authorized_user_id
          }
          sql << sql_insert_statement('tblRefAuthors', cols) 
        end
      end
      sql.join("\n")
    end
def tblRefAuthors 
      @headers = %w{RefID PersonID SeqNum AuthorCount LastUpdate ModifiedBy}
      sql = []
      @name_collection.ref_collection.collection.each do |r| 
        r.authors.each_with_index do |x, i|
          cols = {
            RefID: r.id,
            PersonID: x.id,
            SeqNum: i + 1,
            AuthorCount: r.authors.size + 1,
            LastUpdate: @time,
            ModifiedBy: @authorized_user_id
          }
          sql << sql_insert_statement('tblRefAuthors', cols) 
        end
      end
      sql.join("\n")
    end
Generate tblRefAuthors string.