× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.