|
SFLCSRRRN – Return the cursor position,
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 point
out the user on the exact row where the error is on the subfile using
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,in
What would be the correct way to manage a subfile that uses this keyword?
You can test the value returned against 0 so that you set the RRRN to 1
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 aren't?
Thanks
--
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.