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



Mike,

You could use the RTNCSRLOC DDS key word. The first value returns the RCDFMT of the screen the cursor was on the moment you press Enter or a function key.

Regards,
Carel Teijgeler

On 21-2-2013 17:25, Smith, Mike wrote:
I'm having a little issue with page up/down that I'm not quite sure how to handle.

This is a basic RPG CRUD application.
The way we code these mimics our vendor supplied code

Display a subfile
Select option to edit/display a record.

Say I have 20 records in subfile and I place a '5' in an option field to display the maintenance screen.
I can press page up/down in the maintenance screen to continue looking at subsequent records.
So far so good. Now to the problem.

With this particular application, I can have 2 different maintenance screens display
The normal screen that displays all the fields.
Or a second screen that is a subfile screen.

Now my page up/down seems to be attached to my subfile and I am never able to page up/down to a subsequent record.

Any ideas how I can handle this?

Thanks

Mike
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.


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.