|
Thanks guys, I know how to implement the keyword, that wasn't the question.
I have a subfile with one input field. When you enter something in the last
record displayed, the cursor advances to another input field in the subfile
control record and SFLCSRRRN therefore returns 0. In my program, I set it
to 1 and so the first page gets shown again every time the screen is
re-displayed.
SFLSCROLL looks like it might be what I need although I'm not using ROLLUP.
2018-05-04 21:09 GMT+02:00 Jose Perez <joseenocperez.jp@xxxxxxxxx>:
SFLCSRRRN – Return the cursor position,point
sometimes I use it like this: user select a row on the subfile but the
selection was done with an option that is not allow on the subfile then I
can show up the msg on the bottom of the screen and at the same time
out the user on the exact row where the error is on the subfile usingkeyword?
SFLCSRRRN, what matter is the relative record number, where it is on the
subfile. Combined with SFLRCDNBR(CURSOR) it helps to position the cursor
exactly on the row of the current subfile page where you are actually.
On Fri, May 4, 2018 at 2:14 PM Dave <dfx1@xxxxxxxxxxxxxx> wrote:
Hello,
What would be the correct way to manage a subfile that uses this
aren't?You can test the value returned against 0 so that you set the RRRN to 1in
case the cursor was outside the subfile record fomat.
That's fine if you were on page 1 of the subfile, but what if you
(RPG400-L)
Thanks
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
--mailing list--
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
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.