|
Yes and no. There is the DDS keyword SFLCSRRRN, which usually returns the relative record number of the subfile where the cursor was located when control was returned to the program. The exception is when the cursor is positioned outside of the subfile. In that case, I believe the first relative record number displayed on the screen will be returned. The only way I know of to avoid this is to use RTNCSRLOC to determine if the cursor was positioned within the subfile block. Donald R. Fisher, III Project Manager Heilig-Meyers Furniture Company (804) 784-7500 ext. 2124 Don.Fisher@HeiligMeyers.com -----Original Message----- From: Colin Williams [mailto:Williamsc@technocrats.co.uk] Sent: Wednesday, July 14, 1999 11:40 AM To: 'MIDRANGE-L@midrange.com' Subject: Setting a subfile record to changed with a function key <clip> the only way to find out which subfile record the cursor was on when the function key was pressed seems to be to use the cursor location, RTNCSRLOC. Is there a better way? +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.