PGMA displays 10 records in a file using a subfile. Then the user pages down 4 times to show the last 10 of 50 records.
When the user presses F9 to add a record, I call PGMB to do that work, and then return to PGMA.
In PGMA, I would like to redisplay the last 10 of the now 51 records. Or maybe show the last 10 of 50, and a page-down will reveal the newest record.
It should also function properly if the user is in the middle of 50 records in the subfile, and does an add of the 51st record.
What is a good method to handle this? Or what is a common method that works?
Upon a record being added, do you re-load the SFL from the start? And load all 51 instead of loading the usual 10?
This mailing list archive is Copyright 1997-2019 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