|
Make sure that the function key is coded as CFxx and not CAxx in the DSPF. Denis Robitaille Cascades Inc 819 363 5187 fax 819 363 5177 DRobitaille@cascades.com >>> Colin Williams <Williamsc@technocrats.co.uk> 07/15 4:49 AM >>> I already have SFLCSRRRN specified, but it is not returning the right RRN, even when the cursor is position on the field at the time. I dont know if this is because I am pressing a function key, rather than typing into a field. I'll just have to do it the hard way. -----Original Message----- From: Fisher, Don [mailto:DRF@heiligmeyers.com] Sent: Wednesday, July 14, 1999 5:38 PM To: 'MIDRANGE-L@midrange.com' Subject: RE: Setting a subfile record to changed with a function key 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 +--- +--- | 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 +--- +--- | 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.