Display two subfiles on same page in RPG

120 pts.
Tags:
AS/400
AS/400 Subfiles
RPG
How can I display two subfiles on same pages in RPG programming with sample program to display the screens at the same time?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Here is a link with some sample code showing how it’s done.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • BigKat
    This sounds like a learning assignment. We will help, but you need to tell us what you have tried so far and what is going wrong. Show us what you have coded.
    9,460 pointsBadges:
    report
  • GregManzo
    If this is NOT a learning assignment, I'd recommend avoiding two subfiles on screen together if possible. From a user interface perspective they are a pain - you need to watch where your cursor is in order to scroll the correct part of the screen. Better to redesign your workflow so the user only needs to deal with a single subfile at a time. (and if it is a learning assignment, tell your instructor the interface sucks.)
    2,960 pointsBadges:
    report
  • AlexIsles123
    You can always use Subfile Windows! and use two in conjunction.

    Subfile windows work like normal windows. Just be careful with your positioning! It could get tricky with the HCI Elements. 
    10 pointsBadges:
    report
  • ToddN2000
    When it comes to multiple subfiles on a screen I have run across it maybe twice in my 35+ years of coding. It's ugly and hard to manage. That it why it is rarely done. The only way I have seen it is a top and bottom subfile. Never a side by side. So by the time you have header info, control key info you may have 4-6 lines of actual data if you are lucky. 
    132,840 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: