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



1. Yes, CSRRRN is the field that is declared in the display file with
the SFLCSRRN keyword.

2. Yes, I have the SFLRCDNBR keyword on another field.

3. I have to be able to position both the folded and the unfolded
subfiles to the subfile record after any action.  The PO's have hundreds
of lines and the user's are beginning to arm themselves with pitchforks
and the torches in preparation to storm the castle.

Right now no positioning takes place in either mode.  The cursor always
returns to the first subfile record regardless of where the last record
processed was.

Marvin


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Tuesday, August 09, 2005 9:40 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Subfile Record positioning


> The problem is this, when I position the unfolded screen on the 4th
> record and press enter, the redisplay is back at the 1st record.  The
> CSRRRN shows 4 just after I press enter but even though I set the RRN
to
> 4 before the redisplay, it still shows the first record.  I need to
> redisplay the 4th record.  This will also happen when a Fkey is
pressed.

I assume that when you say "CSRRRN" you're referring to a field that you

have declared in the display file with the SFLCSRRRN keyword?

Are you sending a field with the SFLRCDNBR(CURSOR) keyword to set the
new 
value where the subfile starts displaying?

You wrote a whole bunch of stuff about subfile folding. Does it work
when 
you disable folding?  If not, I don't understand what that has to do
with 
the question?

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.