code: def get_table_info(self, tablename):
          
          conn = self.__get_conn()
          ret = a99.get_table_info(conn, tablename)
  
          if len(ret) == 0:
              raise RuntimeError("Cannot get info for table '{}'".format(tablename))
  
          more = self.gui_info.get(tablename)
          for row in ret.values():
              caption, tooltip = None, None
              if more:
                  info = more.get(row["name"])
                  if info:
                      caption, tooltip = info
              row["caption"] = caption
              row["tooltip"] = tooltip
  
          return ret
docs: Returns information about fields of a specific table
  
          Returns:  OrderedDict(("fieldname", MyDBRow), ...))
  
          **Note** Fields "caption" and "tooltip" are added to rows using information in moldb.gui_info