|
David Prowak wrote: > > 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!! David, If each record is three lines, slfpage is 5, that's 3x5 folded, so you should load and it should display 15 records per page, dropped. (5 folded) Why are you only loading 13 records at a time. I'm not sure that's your problem, but I know it'll cause problems. regards, Rick +--- | 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.