|
Ideally yes to avoid confusion. If it's coded without the N25 and N26 then the overlapping field (indicator 25) would be ignored. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin Sent: 31 August 2006 01:01 To: RPG programming on the AS400 / iSeries Subject: Re: Display File Ovelaping Fields Would it work better if he also used the N indicator? A 26N25 A 25N26 I don't know exactly why I am saying this, except for a nagging from another life. Jonathan Mason wrote:
Hi Mike The coding you have should work although I would personally take the conditioning off the COLOR(WHT) as it's implied by the condition on the "field". Are you coding a straight forward display file format or are you coding a subfile record format. You cannot condition fields on a subfile record,
but
you can on subfile controls and ordinary display formats. However, the way I would do this would be to code an output field on the display and store the texts in a message file. In the program I would do
a
RTVMSG to bring in the text and update the output field accordingly. Hope it helps Jonathan -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Sent: 30 August 2006 22:53 To: RPG programming on the AS400 / iSeries Subject: Display File Ovelaping Fields I am designing a screen and based on a selection a couple different fields will appear. However, I want to use the space for both sets of fields. It has been so long I don't remember how to do it. I have tried to place an indicator on the field and set non-display I still get overlap errors.
Here
is a couple sample fields. A 26 5 2'Employee Information:' A 26 COLOR(WHT) A 25 5 2'Complainant Info:' A 25 COLOR(WHT) -- Mike Wills http://mikewills.name - Blog http://theriverbendpodcast.com - Podcast -- This is the RPG programming on the AS400 / iSeries (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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.