I an looping through rows in a db to get log information. The log is getting long and do not want to list until EOF. How can I just list first 10 rows?
<%
Do until histinfo.EOF
%>
<tr>
<td><% = histinfo("uid") %> </td>
<td><% = histinfo("ppid") %> </td>
<td><% = histinfo("spid") %> </td>
<td><% = histinfo("date_field") %> </td>
</tr>
<%
histinfo.MoveNext
Loop
%>
Any help would be appreciated.
Thanks,
Jeff
<%
Do until histinfo.EOF
%>
<tr>
<td><% = histinfo("uid") %> </td>
<td><% = histinfo("ppid") %> </td>
<td><% = histinfo("spid") %> </td>
<td><% = histinfo("date_field") %> </td>
</tr>
<%
histinfo.MoveNext
Loop
%>
Any help would be appreciated.
Thanks,
Jeff