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



One alternate solution that might be useful with the subfile is to always advance the subfile screen so that the selected row, when returned, is always returned at the top of the subfile (In some operations that could mean that the file's repositioning automatically moves the records up so that the user finds the next desired record already on the screen.)

SF1TOP 4S 0H SFLRCDNBR(CURSOR *TOP)

That allows the problematic issue to become a feature. Maybe.


On 11/15/2012 12:04 PM, James Lampert wrote:
It's been a while for me on this one; I'm sure I've done at least part
of this before, but I'm not sure if I've done it all. And I'm having
difficulty understanding the manual on it.

I have two different situations that look the same, but are probably
different: in one, I have an actual subfile screen, with a selection
column, while in the other, I have a fixed screen (actually, a series of
fixed screens) that only *looks* like a subfile with a selection column.

In both cases, when one selects a row, the program goes to another
screen, where one can perform an operation for that row, then returns to
the (real or fake) subfile screen from which one selected the row.

When one returns, the cursor always goes to the top of the selection column.

I've been asked to refine this, so that the cursor goes to the row one
just finished working with.

I believe CSRLOC is probably my answer for the "fake subfile" screen,
but the manual says this doesn't work for subfiles. And the manual entry
for SFLRCDNBR has the puzzling statement, "If the subfile record format
contains field selection, this keyword is not allowed." What exactly
does THAT mean?



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.