Bruce's idea is valid. However, you might consider creating a different cursor for each page. Whenever you requery the view with the new parameter is what is probably creating the error, and if you simply refresh the pages, you'll never get the view with your new parameter. (well, not never, but it's gotta be a performance hit.). instead, I would create a seperate cursor for each page.
Robert J. Ohrstedt
RJO Associates