i have a small databse that i'm pulling records from and was wondering how i can display the number of records returned, the sql is this:
sql = "SELECT DISTINCT ipA FROM captured"
and i'm currently displaying the records like so:
<form>
<b>
<font face="Verdana" size="1">Total <i>Unique</i>
visitors: </b></font>
<%While Not rs.EOF%>
<%=rs.Fields("ipA"
%>
<%
rs.MoveNext
Wend
%>
</form>
but now i don't want to display the records but rather the number of returned records. Thanks
sql = "SELECT DISTINCT ipA FROM captured"
and i'm currently displaying the records like so:
<form>
<b>
<font face="Verdana" size="1">Total <i>Unique</i>
visitors: </b></font>
<%While Not rs.EOF%>
<%=rs.Fields("ipA"
<%
rs.MoveNext
Wend
%>
</form>
but now i don't want to display the records but rather the number of returned records. Thanks