<% set antalV = Conn.Execute("SELECT tbl_res.CompName, Count(tbl_res.TOTAL) AS Ant FROM tbl_res GROUP BY tbl_res.CompName HAVING tbl_res.CompName='"&objrs("CompName")&"'")%>
<% Set snitt = Conn.Execute("SELECT tbl_res.CompName, Sum(tbl_res.TOTAL) AS Summa FROM tbl_res GROUP BY tbl_res.CompName HAVING tbl_res.CompName='"&objrs("CompName")&"'")%>