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



Sure.  If the fields are all the same data type and length/precision define
a data structure where the array overlays the screen fields.  

> -----Original Message-----
> From: Ray, Adam [mailto:aray@fhp.org]
> Sent: Friday, December 08, 2000 1:19 PM
> To: 'RPG400-L@midrange.com'
> Subject: display file fields
> 
> 
> Is there a way to have the fields on a display file be part 
> of an array?
> I have a screen where the user enters multiple values for a particular
> field. They can enter from 1 to 67 different values. I would 
> like the first
> value to be bucket 1 of an array, the 2nd value bucket 2, and 
> so on. That
> way I can sort or validate the fields by just looping through 
> the array
> instead of checking each field individually.
> So can you have an array in a display file, or am I dreaming?
> Adam Ray
> Applications Programmer
> Family Health Partners
> 816-855-1822
> aray@fhp.org <mailto:aray@fhp.org> 
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.