|
Charles, I believe this article illustrates using data queues to accomplish what you want. http://www.itjungle.com/mpo/mpo052302-story05.html I hope it helps, Marco. On 3/22/06, Charles St-Laurent <dringpiece@xxxxxxxxxxx> wrote: > > Hi! > > I read an article about self-extending subfile to navigate through data. > The > technique looks quite simple. Each time the user press the PageDown key, > or > the alternate key associated to the PageDown action, the program takes the > control and fills the next subfile page. But if the user press the PageUp > key, the system handles it. > > There is limitations about this technique. The number of records the > subfile > can contain is still limited to 9999. What if my file contains about 300 > 000 > entries and a maniac user tries to scroll down to the end of the file? > > In the other hand, if I use a subfile with SFLSIZ = SFLPAG, how can I trap > multiple selection in the subfile. I mean, what if the user selects a > record > in one page, press the PageDown key, and selects another record in that > page? If I clear the subfile each time the user press the PageUp or > PageDown > key, the READC won't see the selected records from the previous pages, > only > the ones in the current page, isn't it? > > What's bugging me is the limited size of a self-extending subfile and the > case of a multiple selection between pages. Is there a way to have a > self-extending subfile that can be greater than 9999 records and handles > the > selection of multiple records through different pages? > > Charles St-Laurent > > > > -- > 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.