× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



A F3 5S 0H SFLSCROLL
A F2 4S 0H SFLRCDNBR(CURSOR *TOP)



I believe these are the two keywords that interest you. Eval F2 = F3 in your calcs before you display your subfile. There is a cursor return keyword also, but that may not do what you want, as the cursor may not always be on the top record of the panel.

Also, if you are not using it, consider adding a scroll bar in all of your load-all subfiles. They are easy to implement and users are accustomed to positioning with the scroll bar. The only real "secret" to using a scroll bar is to populate the SFLSIZ keyword with the actual number of records in the subfile so that the white bar is proportioned correctly in the scroll bar.



Mike wrote:
I haven't done this in years. On a subfile with many pages, the user wants
the position to return to where it was. I am filling the whole subfile with
all of the data then letting the system handle paging. How do I keep the
right page of records up that the user left?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.