Look at this DDS and note SFLRCDNBR(CURSOR)


003.00 A R CSFLCTL SFLCTL(CSFL) 050531
003.10 A*
003.20 A SFLSIZ(0015) 050531
003.30 A SFLPAG(0005) 050531
003.40 A CA06 050531
003.50 A PAGEDOWN 050531
003.60 A BLINK 050531
003.70 A OVERLAY 050531
003.80 A 42 SFLDSP 050531
003.90 A 41 SFLDSPCTL 050531
004.00 A 40 SFLCLR 050531
004.10 A 99 SFLEND(*MORE) 050531
004.20 A N10 SFLFOLD(CA11) 050531
004.30 A 10 SFLDROP(CA11) 050531
004.40 A SFLMODE(&SFMODE) 050531
004.50 A RCDNBR 4S 0H SFLRCDNBR(CURSOR) 050531
004.60 A SFMODE 1A H 050531
On 11/15/2012 10:04 AM, 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 ...

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.