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




On 25-Jul-08, at 11:24 PM, rpg400-l-request@xxxxxxxxxxxx wrote:

Just the other day I was thinking along these same lines. My thought was
that if I could soft code the record format in a variable I could move my
subfile setup to a sub procedure and just pass the record format in a
variable as the parameter that way I wouldn't have to write the same
subfile prep code over and over again for each one. Well as I found out, ...

This can be done in RPG, but only by prototyping and wrappering the C record I/O procedures. This is not that hard, but does require a certain amount of knowledge of C. I thought that there were some examples of doing this out on the web but I don't have time to search for them right now.

An alternative option is the use the Dynamic Screen Manager (DSM) APIs to handle the screens. This will not strictly speaking give you a subfile but can be used for scrolling lists in windows etc. Again there are examples out there.


Jon Paris

www.Partner400.com
www.SystemiDeveloper.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.