The anchor point is "top", which can be placed anywhere on the page, usually at the top of the page. The red part of the program is the key, which is to judge the occurrence of anchor points. The value I set is 4, which means that if there are 4 dynamic data, an anchor point will appear. If there are less than 4, there are no anchor points because they are still on the same page. This value can be modified according to the actual situation. In order to beautify the page, you can replace the text of the anchor with a graph and replace the top with <img src=top.gif>.
<a name="top"></a>
……(Specific content is omitted)
<%
While ((Repeat2__numRows <> 0) AND (NOT rsp.EOF))
%>
……(Specific content is omitted)
<%
Repeat2__index=Repeat2__index+1
Repeat2__numRows=Repeat2__numRows-1
if Repeat2__numRows < 4 then
Response.Write("<table width=400 border=0 cellpadding=0 cellpacing=1><tr><td align=right><a href=#top>top</a></td></tr></table>")
else
Response.Write("<table width=400 border=0 cellpadding=0 cellpacing=1><tr><td align=right>a</td></tr></table>")
end if
rsp.MoveNext()
Wend
%>