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



Patrik

I dug around a little - here's something that might help - in this link - https://www.go4as400.com/Load-all-subfile-example-RPGLE/SFL-2.aspx?cid=42

In load-All subfile if we do PAGEDOWN and then press ENTER on the
page, by-default ENTER bring the display screen to the very first
page irrespective of the current page number. To avoid this
situation, we use file information data structure to get the current
page RRN number and pass it to the SFLRCDNBR hidden field defined in
the display file DDS.


SFLRCDNBR also has a 2nd parameter, the word *TOP, I believe - then the record number you put in SFLRCDNBR will be at the top of the subfile page.

I think this will work - I don't know how long *TOP has been available.

Cheers
Vern

On 4/17/2023 4:26 PM, Patrik Schindler wrote:
Hello Rob,

Am 17.04.2023 um 21:56 schrieb Rob Berendt<robertowenberendt@xxxxxxxxx>:

Ask yourself this, what row would you expect to be positioned to on a load-all subfile done with RLA instead of SQL?
I don't recognize the term "RLA".

I think it just makes it clearer that once you pass it off to a load-all the positioning is out of your hands.
That's what I want to find out.

Comparing e. g. with the wrkmbrpdm display, scrolling makes the cursor appear in the first SFL line after each scroll, even if you position the cursor in another line. Not sure if this is a load-all, though.

:wq! PoC


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.