considerate le stringhe

currentPage = request.queryString ("pag")
If currentPage = "" then
currentPage = "1"
End If

pageSize = ncommenti

Records = rs.RecordCount

if NOT (Records = 0) then
rs.pageSize = pagesize
rs.AbsolutePage = currentPage
End If

pageNext = currentPage + 1
pagePrev = currentPage - 1
Pages = Records \ pageSize
if Records mod pageSize then
Pages = Pages + 1
End If

come faccio a stabilire un numero max di 30 records per pagina?

GRAZIE!!!