× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Can't you count to 9999 as you load subfile and kick off subfile clear when
reached(saving 9999 record key and settgt key) then run load subfile from
there then exfmt display?

----- Original Message ----- 
From: <Terry@xxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Tuesday, July 01, 2003 2:21 PM
Subject: RE: subfile?


>
>
>
>
>
> >I guess I shouldn't have said the Subfile contains more than 9999
> >records.  The file does and so I need to be able to handle that.   Well
> >anyway, it appears I can't do this with a page at a time subfile and
> >will have to go another route.
>
>
> Mike,
>
> Don't throw out the baby with the bathwater...
>
> If I were sitting down to write this, I would make SFLSIZ = SFLPAG + 1
> (expanding).  Then you can use the SFLFOLD/SFLDROP keywords. Just because
> there are over 9999 records in the file doesn't mean that the subfile ever
> has to get that large.  I sincerely doubt that a user would page down over
> 500 times (@ 20 recs/page) to get at the info they need. (But I guess it's
> possible.)
>
> I would instead give them the ability to position the subfile start record
> to any database key they may want, and perhaps provide a filter so they
> don't see records they don't want to.
>
> If you think they will ever create a 9999-record subfile by paging, then
> test the RRN of the subfile and pop up a window when it's reached telling
> them they need to reposition their starting key.
>
> Terry Richardson
> Vermont Information Processing, Inc.
> terry@xxxxxxxxxx
>
> _______________________________________________
> 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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.