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



I am not clear on how many formats/programs there are. A main screen format with 2 maintenance window formats, one with a subfile?

In any event, one thought is to use
SFLEND(*SCRBAR *MORE) ***
with the subfiles and let users use a scrollbar to move the subfile(s) up and down. That allows scrolling by a a few rows or a lot of rows.
http://www.martinvt.com/Subfiles/Two_Subfiles/two_subfiles.html

As to the specific problem: is there code in the DDS for page up/page down? If so, what happens if you comment that code out? I ask that because my memory tells me that with subfiles, the less code the better.

Are you processing 2 formats at once, with a write followed by am exfmt/read?

*** it really is that simple as long as you leave 3 empty columns at the end of the subfile row.

On 2/21/2013 10:25 AM, 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 ...

Follow-Ups:
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.