def find_fields rowname
      row = row_by_name(rowname)
      fields = (row ? row.fields : [])
      # fill fields with nil to match header length
      # say header=5 fields=2 fill=2 (skip rowname)
      fields.fill(nil,fields.size,header.size-1-fields.size)
    end
def find_fields rowname
      row = row_by_name(rowname)
      fields = (row ? row.fields : [])
      # fill fields with nil to match header length
      # say header=5 fields=2 fill=2 (skip rowname)
      fields.fill(nil,fields.size,header.size-1-fields.size)
    end
Find a record by rowname and return the fields. Empty fields are nils.