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



Aaron,

Why not just make the 'dynamic fields' be just a big text field and have
your pgm put whatever it wants in there.  I've used this approach to good
effect.

Tom
 |  -----Original Message-----
 |  From: Bartell, Aaron L. (TC) [mailto:ALBartell@taylorcorp.com]
 |  Sent: Thursday, December 06, 2001 13:44
 |  To: 'rpg400-l@midrange.com'
 |  Subject: Dynamic subfile dilemma
 |
 |
 |  I have a problem that I am trying to solve by allowing
 |  different fields to
 |  be displayed in the subfile based upon another template
 |  physical file that I
 |  am reading.  So basically I want a subfile that can look
 |  something like
 |  this:
 |
 |
 |  Seq   Dynamic Fields
 |  999   BBBBBBBBBBBBBBBBBBBBBBBBBBB
 |  999   BBBBBBBBBBBBBBBBBBBBBBBBBBB
 |  999   BBBBBBBBBBBBB  BBBBBBBBBBBBBBBBBBBBBBBBBB
 |  999   BBBBBBBBBBBBBBBBBBBBBBBBBBB
 |  999   BBBBBBBBB  BBBBBBBBBBBBB  BBBBBBBBBBBB
 |  999   BBBBBBBBBBBBBBBBBBBBBBBBBBB
 |  999   BBBBBBBBBBBBBBBBBBBBBBBBBBB
 |  999   BBBBBBBBBBBBBBBBBBBBBBBBBBB
 |
 |  I have tried using the non-display character to display the
 |  correct field at
 |  the correct time but it gives me a field overlap error when
 |  I try to add a
 |  field that "touches/overlaps" another field.
 |
 |  I have tried putting an indicator at the field level for
 |  each subfile field
 |  but that errors on the compile saying that I can't have a
 |  indicator at the
 |  field level.  But I can have indicators at the field level
 |  on a non-subfile
 |  field?  Hmmm . . .
 |
 |  Is there any way to do what I am trying to do?
 |
 |  Aaron Bartell
 |  _______________________________________________
 |  This is the RPG programming on the AS400 / iSeries
 |  (RPG400-L) mailing list
 |  To post a message email: RPG400-L@midrange.com
 |  To subscribe, unsubscribe, or change list options,
 |  visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
 |  or email: RPG400-L-request@midrange.com
 |  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 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.