When an action on the screen occurs your program is going to do a read.
You can only read one record format and I don't think there is any way to
know which record format to read.
I have done something similar a long time ago and I did it with a single
subfile displayed - it just looked like two lists. I used a work subfile
in the program but you could also use a work file or arrays depending on
how much data you have or are likely to have.
Don Brown
From: "Booth Martin" <booth@xxxxxxxxxxxx>
To: "RPG programming on the IBM i / System i"
<rpg400-l@xxxxxxxxxxxx>
Date: 21/09/2018 07:32 AM
Subject: 2 horizontal drill-down subfiles
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx>
I have a drill-down application with side-by-side subfiles; no input
fields in either subfile. When I click on a row in the left-side
subfile I want to display the drill-down in the right-side screen. It
all works as I want it to work so that is a good thing.
The there's the bad thing... actually, 2 bad things.
1. Page/scroll the right-hand subfile doesn't work because it is WRITE,
not EXFMT. I can't figure out how to have both windows open and
clickable.
2. When I click in Window 2 it returns the line number as a click in
Window 1.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
http://amzn.to/2dEadiD
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit
http://www.symanteccloud.com
______________________________________________________________________
As an Amazon Associate we earn from qualifying purchases.