Until now I havent found a good solution for this problem. Today I
save the key of the last record showed in the user form . When the user
submits the form I :
1) open the cursor again (I save the query parameters in the form too)
2) if he pressed the "Next" button then move the cursor to the saved key and
show "n" more records
3) if he pressed the "Back" button then move the cursor to "n" records
before the saved key
4) save the key of last record showed in a form variable
5) save the query fields in forms variables
6) response

        I cant make any cache because i dont know how big would be the query
result. I would like to know others solutions for this problem, because the
one I use gives me a lot of work!

        bye

                jk

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to