|
If all you need is the number of the subfile record on which F4 was pressed, I think you can get away with the SFLCSRRRN keyword (it takes a field name as a parm, which is returned to the program with the rrn of the line the cursor was on). If you also want to determine if the cursor was in the proper column, that gets a little more involved. . . hth rpg400-l@midrange.com writes: >All I want to do is be able to do an F4 on the reason and have the code >returned from a selection list to the correct subfile line selected from >and if there are any errors - eg the user enters in the wrong code then >that line is highlighted and not processed and the subfile is re-written >showing the errors and removing those items already processed. Mike Naughton Senior Programmer/Analyst Judd Wire, Inc. 124 Turnpike Road Turners Falls, MA 01376 413-863-4357 x444 mnaughton@juddwire.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.