|
1. before any other action is taken it is 1. 2. after paging through the unfolded screen to record 5, pressing the F10 key, the rrn is still 1 3. before the redisplay, it is still 1
So the RRN field is set to 1, but you can't figure out why it always starts with the first record of the subfile?
By having this variable set to 1, you're telling the system "I want you to start displaying with record 1". You need to set this value to the record you want to put on the screen before you display it.
If you want the subfile to be at the position where the user left off, set it to the value of CSRRRN. (But, if CSRRRN is zero, set it to 1 or some other valid value so that the program doesn't crash)
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.