: MIDRANGE dot COM Mailing List Archive

paging ResultSet question


  • Subject: paging ResultSet question
  • From: BKresge@xxxxxxxxxxxx
  • Date: Thu, 6 Sep 2001 01:40:53 -0400
AddThis Feed Button



Hi-
It seems as though I have been all over; yet can still find no way of presenting "paged views" from running SQL against an AS/400...  Am I missing something?  I have read that the rownumber() function is not supported on the AS/400; and the rrn(table_name) function is not reliable (deleting or inserting records causes this to screw up...).

Is there a way to present a user with results that are paged (1..20; 21-40; etc...)?  I am looking for a way to do this in SQL - as I do know of a way to create a wrapper around the ResultSet to achieve a paged like interface..  BUT this would be a MAJOR problem to the code we have in place...

Any ideas?  Thank you!

Brian Kresge
SW Engineer
http://www.netsetgo.com



Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2007 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact

.

counter