|
David, When you ROLLDOWN, the number of records scrolled is based on the number of lines displayed when the subfile record is folded. So if you have a page size of 5, and 3 lines to a folded record, when you scroll only 2 records will move off the page when folded (2*3= 6 > page size of 5). Hence, you wont load the next page until you have scrolled through all of your currently loaded file, 2 at a time (folded). How to get around the problem? Try loading by count based on the fold/drop indicator/var, (i.e. When folded, load 5 at a time, dropped, load 2). > -----Original Message----- > From: David Prowak [SMTP:prowakd@emi.com] > Sent: Monday, June 15, 1998 3:18 PM > To: midrange list > Subject: subfile recs not showing up > > Hi, > I have a expanding subfile that WAS working just fine. SFLSIZ = 14, > SFLPAG > = 13. > > I then decided to add some functionality to it, by using SFLDROP & > SFLFOLD. > To accommodate the subfile recs that would take up 3 lines instead of > 1, > I changed SFLPAG to 5. SFLDROP & SFLFOLD work as advertised. > > The default for my program is SFLDROP, so when the 1st page comes up, > 13 recs are displayed. When I roll forward, only 9 recs show up. > The 1st 2 records don't show up. When I roll to the 3rd page, only > 7 recs show up. The 1st 4 are skipped. And so, skipping 2 more for > each > page. > I went through debug, and 13 recs are written each and every time. > My rec counter is RESET each time I enter the subroutine to build > the subfile. The subfile RRN is representative of the record > currently > being > written to the subfile. What the heck am I missing? If I get rid of > SFLDROP, > SFLFOLD and SFLMODE, then everything works fine. > > HELP!! > > Dave > > > > > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.