×
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.
Hi Lugman,
You need the SFLCSRRRN keyword in your DDS. This will return the relative
record number of the subfile row the cursor was over when a valid function
key (or Enter) was pressed.
A SFLCSRRRN(&SFLCSR1)
A RTNCSRLOC(RCD FLD POS)
A #1FLD 10A H
A #1RCD 10A H
A #1POS 4S 0H
A SFLCSR1 5S 0H
If you use SFLCSRRRN with RTNCSRLOC you can retrieve the value of a field
within a subfile record by placing the cursor over it and pressing Enter.
You can even specify what byte of a field on a subfile row the cursor was
over. This is very useful for prompting input fields, or for help systems.
Remember, you need to chain to the subfile using the SFLCSRRRN value (if
it's > 0) to retrieve the field values.
Cheers
Larry Ducie
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.