• Subject: RE: Setting a subfile record to changed with a function key
  • From: Colin Williams <Williamsc@xxxxxxxxxxxxxxxxx>
  • Date: Thu, 15 Jul 1999 09:49:29 +0100

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 thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].