her er det i JavaScript
det virker jeg har testet det
------------------------------------
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%
conn = Server.CreateObject("ADODB.Connection");
DBPath = "DBQ=" + Server.MapPath("spildb.mdb");
conn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; " + DBPath);
strSQL = "SELECT SUM(Hits) AS allHits FROM Spil";
rscount = conn.Execute(strSQL);
antal = rscount("allHits").value;
conn.Close();
%>
<html>
<head>
<title>353085</title>
</head>
<body>
<table width="450" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>Hits alle spillene har fået til sammen:</td>
<td><%=antal%></td>
</tr>
</table>
</body>
</html>
------------------------------------
du kan selv et eksempel her:
http://www.uniquem.dk/kunst/353085.asp