-1) Then
If (@@rsName@@_first > MM_rsCount) Then
@@rsName@@_first = MM_rsCount
End If
If (@@rsName@@_last > MM_rsCount) Then
@@rsName@@_last = MM_rsCount
End If
End If
' set the boolean used by hide region to check if we are on the last record
MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount)
%>
]]>