|
----- Message from Bill Howie <blhowie66@xxxxxxxxx> on Fri, 13 Mar<rpg400-l@xxxxxxxxxxxx>
2015 09:29:08 -0400 -----
To:
"RPG programming on the IBM i (AS/400 and iSeries)"
that
Subject:
Positioning cursor on a subfile record
Hello all,
I'm having the darndest time getting this to work. I have a subfile
has several fields. The first is an output field. Our program logicthis
dictates that if the cursor is on a particular line in the subfile (at
output field) and F1 is pressed, logic occurs to do things with thatF1
specific record. That all works fine. In some cases the user hitting
on a particular record is an error. I'm generating an error messagethat
displays at the bottom of the screen and THAT all works fine. I'd liketo
position the cursor on the subfile row that the user hit F1 on in thisthe
situation but no matter what I try it doesn't seem to work. I've got
subfile set up with the SFLRCDNBR(CURSOR) keyword and also theSFLCSRRRN()
keyword and I'm moving the field value that goes along with SFLCSRRRN to
the SFLRCDNBR field and updating the subfile. STILL doesn't work. Does
it have to do with the fact that it's an output field I'm trying to
position it on? Because I've made it an input field and that's not
working either. Any suggestions? Thanks!
Bill
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.