Hi,
just use the following logic while displaying the records.
<%if (objRs.AbsolutePage = objRs.PageCount) then%>
<tr>
<td align="Right" colspan=8>
contents: <%=objRs.AbsolutePosition & " - " & objRs.RecordCount & " of " & objRs.RecordCount%>
</td>
</tr>
<%else %>
<tr>
<td align="Right" colspan=8>
Contents: <%=objRs.AbsolutePosition & " - " & (objRs.AbsolutePage * objRs.PageSize) & " of " & objRs.RecordCount%>
</td>
</tr>
<%end if%>
--------
Hopes this works fine
Thanks
suresh
|