I haven't done this in a very long time (probably 10 years) but now I am charged with changing a program so it checks to see what subfile record the cursor is on when the user presses the ENTER key. So, I could use some advice
I've added the SFLCSRRRN keyword to the subfile control and also added CSRRRN as a parameter of SFLCSRRN and defined it as a hidden field on the subfile control. However, when I do an EXFMT SFLCTL3 in my program debugging verified that CSRRRN contains 0, although the cursor was obviously on a subfile record.
![image.png Click image for larger version
Name: image.png
Views: 102
Size: 7.5 KB
ID: 159034](filedata/fetch?id=159034&d=1705102219)
I must be doing something incorrectly.
I've added the SFLCSRRRN keyword to the subfile control and also added CSRRRN as a parameter of SFLCSRRN and defined it as a hidden field on the subfile control. However, when I do an EXFMT SFLCTL3 in my program debugging verified that CSRRRN contains 0, although the cursor was obviously on a subfile record.
I must be doing something incorrectly.
Comment