RPG - Subfile - Read using RRN
65 pts.
0
Q:
RPG - Subfile - Read using RRN
Is it possible to read a subfile record if its RRN number is known?

In my case, when on a subfile record, if F4 is pressed a Prompt window is displayed to list codes. When a code is selected I want this selected code to appear in my subfile record for which the F4 was pressed.

In my case I have RRN of the subfile record on which the F4 was pressed. Now I want to update this record with the new value thrown in by the window.
ASKED: May 29 2008  9:25 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
23625 pts.
0
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • AddThis Social Bookmark Button

Hi,

You can just CHAIN to the subfile with the RRN as key and UPDATE the subfile.

Regards,

Martin Gilbert.
Last Answered: May 29 2008  1:32 PM GMT by Gilly400   23625 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0