|
Hi Phil,Keep in mind where the file cursor is. After you've read records 100-109 for example, the next record read (forward) will be 110. If you want to load the previous 10 records, you have to read back to rrn 90. In other words, read previous for twice the number of records in your subfile page. It appears you're only reading back 1 page worth.
*Peter Dow* / Dow Software Services, Inc. 909 793-9050 pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> / Phil Kestenbaum wrote:
HI,I have to 'convert' a load all subile, to a page at a time. I noticed that the amount of data the application could generate, could easily surpass the 9999 limite.I have some code that I will call when the Rollupdn key is pressed:0381.00 C savkey setll oepwrkri 0382.00 * 0386.00 C do sflpag_plus_1 0387.00 C readp oepwrk 0388.00 C if %eof 0389.00 C *loval setll oepwrk 0390.00 C leave 0391.00 C endif0392.00 C enddoAfter this, the Clear Sfl and Bld Sfl is run. The Savkey is created when RRN is = 1 and is done after the Write to the SubfileWhat is happening that pages are loading fine. When scrolling back however it is only going back one page and then is halted there. I tried to debug but didn't see anything, I think I am missing an obviousfundamental.Any thoughts/ideas would be a great help.PhilThis message contains information proprietary to our company. It is intended to be read only by the individual or entity named above or their designee. Any distribution of this message or the information contained herein without written permission from our company is strictly prohibited. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
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.