× 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.



True or False? If a subfile has no input fields, it is impossible for the RPG program to determine which 'page' the subfile is on.

Example: I have an invoice lookup program with a subfile that has no input fields - it just shows one line of information per invoice. The subfile control record has a single input field where the user can type in and invoice number and go to a screen that shows the invoice detail information. When the user presses F12 to return from that screen, they want to go back to the subfile 'page' that they came from (and not back to the beginning of the subfile, which is what the program is currently doing).

If I can determine the subfile's current 'page' then I can force the subfile back to the 'page' the user came from.

How can this be done if the subfile has no input fields? SFLCSRRRN doesn't help because the cursor is never within the subfile.

Thanks in advance for any thoughts on this.

~TA~

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.