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



Joe,

Here's my dilemma. I basically have 2 requirements:

1) As described, the movement of the selected record to the top of the page, essentially a position-to.

2) The default type of behavior from SFLRCDNBR, namely the display of the proper page with the cursor positioned at that record.

Is it possible to have both behaviors using the SFL keywords or do I have to pick one and program around the other?

-mark

At 2/13/2011 11:16 AM, you wrote:
On 2/12/2011 11:20 PM, M. Lazarus wrote:
> Booth,
>
> I'm not sure what you mean by "Just do your subfile loop again,
> with no load." It's a load-all subfile, so all the records are
> loaded. I just want, for example, for SflRRN #4 to be displayed on
> the first line of the screen.
>
> As far as using the mouse and scroll bars are concerned,
> unfortunately support for that is emulator dependent. In this case,
> we need to be avoid using a feature that depends on "special" support
> from an emulator.
>
> The functionality I'm looking for is similar to a full screen line
> editor, like SEU. So if I want to copy a line, I would put a "C" in
> the subfile option source field and an "A" on the line I want the
> copied line to follow. I want full control of which page displays
> after the copy and where I want the cursor to end up.
>
> -mark

I think what Booth meant (although I don't want to put words into his
mouth) is that you just have to do your EXFMT again and then do your
READC loop (or however you process your subfile).

Here's the thing: once you decide you need to change the top record,
simply set the value of the SFLRCDNBR field and then perform the EXFMT.
Should work like a champ. I do it all the time.

Joe


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.