LOL....Bob I thought it showed the answer from Joe.....however, in case it
did not here it is:
The Subfile CTL record uses the window reference to refer to the footer
record and overlay is turned on on the CTL record.
0001.50 A OVERLAY
0002.20 A WINDOW(MAINFTR)
and the footer record holds the actual dimensions of the window. instead
of the CTL record (under normal circumstances).
0007.20 A WINDOW(3 2 18 70
*NOMSGLIN)
0007.30 A 18 26'F3-Exit F12-Cancel'
That was all there was to it.
From: "Bob O." <otis_the_cat@xxxxxxxxxxx>
To: "'RPG programming on the IBM i / System i'"
<rpg400-l@xxxxxxxxxxxx>
Date: 12/29/2008 07:30 PM
Subject: RE: Displaying footer record in a windowed subfile
----------------------------------------------------------------------
So, How about the answer!!
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Doug Palme
Sent: Monday, December 29, 2008 5:05 PM
To: RPG programming on the IBM i / System i
Subject: Re: Displaying footer record in a windowed subfile
Dammit Joe I just got off the phone with Tim King and he gave me the
answer....so much for two Jews showing up the group LOL
Thanks Joe....you are DA MAN!
From: Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
To: RPG programming on the IBM i / System i
<rpg400-l@xxxxxxxxxxxx>
Date: 12/29/2008 04:58 PM
Subject: Re: Displaying footer record in a windowed subfile
----------------------------------------------------------------------
Doug Palme wrote:
> I have a windowed subfile that I need to display a footer record at
the
> bottom of, I have never been able to get it to work......
>
Oh man, I had fits with this too!
I *think* you do this, if memory serves:
A R MAINFTR
A*%%TS SD 20081229 160242 SPISDXP REL-V5R4M0 5722-WDS
A OVERLAY
A WINDOW(MAINCTL)
Note the WINDOW(MAINCTL). This way, it shares the window with MAINCTL
rather than creating a whole new window that overlays the other one!
Joe
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
This transmission may contain information that is privileged,
confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure,
copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission in error, please immediately contact the sender and destroy
the material in its entirety, whether in electronic or hard copy format.
Thank you.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission in error, please immediately contact the sender and destroy
the material in its entirety, whether in electronic or hard copy format.
Thank you.
As an Amazon Associate we earn from qualifying purchases.