|
Same here page at a time subfiles are just better IMO. If you need to save the options from the current screen on a paging operation, several solutions have already been presented. As to the Keyed data queue vs. temp file I would prefer the temp file in this case, that way I can manage the removal of records from the "temp" data where a keyed data queue will remove the option the first time it's processed(read). Just my 2 coppers. Thanks, Tommy Holden -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore Sent: Wednesday, April 19, 2006 8:33 AM To: RPG programming on the AS400 / iSeries Subject: RE: prob in subfile... Hi Jonathan, thats the reason for this thread/conversation. I prefer to use page-at-a-time subfiles, because there IS no limit of 10,000 or so records for the sub-file. Alan "Jonathan Mason" <jonathan.mason@a stradyne-uk.com> To Sent by: "'RPG programming on the AS400 / rpg400-l-bounces@ iSeries'" <rpg400-l@xxxxxxxxxxxx> midrange.com cc Subject 04/19/2006 09:11 RE: prob in subfile... AM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@midrang e.com> Hi Alan >> You don't have to scroll down 10,000 records, how about giving the user a >> position to field? So, if your user repositions to the 10,000th record after the first page is loaded do you then read the next 9,990 or so records to get to the one your user wants? Personally I would reload the subfile starting from the 10,000th record and handle any paging up programmatically. Jonathan -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.