<%if cint(intDisplayPage) > 1 then%>
<%else%>
<% end if %>
<%if cint(intDisplayPage) < ((oRS.Recordcount - 1)\intResultsPerPage +1 ) then%>
<%else%>
<%end if%>
|
<%
oRS.Move ((intDisplayPage - 1) * intResultsPerPage)
intResultCounter = 0
Do While ((Not oRS.EOF) and cint(intResultCounter) < cint(intResultsPerPage))
if intCounter = 3 then
Response.Write ""
intCounter = 0
end if
if oRS.Fields(fldOrientation).Value = "V" then
intDisplayWidth = 66
intDisplayHeight = 99
else
intDisplayWidth = 99
intDisplayHeight = 66
end if
%>
|
|
<%
oRS.movenext
if err then
Response.Write err.number & " " + err.description
response.write "Error on Move Next. "
exit do
end if
Loop
%>
|