fix for IDRef_Detail_Tbl_fields - pyodbc lookup needed the # in names