Help! - Refreshing the same deck to view next set of records
say I had a database of 200 records and wanted to return 30 records at one
time (DUE TO MAX DECK LIMIT).
I can do this using multiple decks (ie 1-30 deck1.asp, 31-60 deck2.asp etc)
but want to be smart an use a single deck as 99.99% of the code is the
same apart from counter value.
-----------------------------------------------
DECK1.ASP
---------
counter = 0
maxCount = 30
pointer = Request.QueryString("pointer")
oRSc.Move pointer
do while not oRSc.eof and counter<maxCount
counter = counter + 1
Response.Write oRSc("Records")
oRSc.MoveNext
loop
pointer = pointer + 30
<anchor>Next 30 records points
<go method="get" href="DECK1.ASP">
<postfield name="pointer" value="<%="pointer")%>"/>
</go>
</anchor>
-----------------------------------------------
IT DOESN'T WORK,
By looking at the variable values (of maxCount and counter, they are
Please help!! What am I going wrong. code like this much have been used
lots of times as the deck has a max limit.
Thanks
Matt