|
Hi Jerry, <snip> Thanks for the explanation. I knew you could set the size and page values for a subfile to the same, just never saw any reason to do that. Which explains my lack of experience in this area. </snip> Always wanted to condition a subfile field on an indicator so you can control whether it is displayed on a specific subfile line..? Ever got annoyed because you have a panel with many different fields but quite a few are non-displayed for different users for different reasons, and this causes big "gaps" to appear all over the screen..? By setting SFLSIZ = SFLPAG you can use conditioning indicators on subfile fields. This is because you are telling the system that you do not require paging, and that you are only building a single page. The system then allows you to effectively build a "panel" screen using a single subfile page. This is extremely useful if you have a panel with many ommisable fields: Rather than having your displayed fields scattered about the screen in a sea of blank spaces, you can use this technique to display only the fields you want - and in an orderly and presentable manner - every time! That is, your displayed fields cascade down the screen (as it is built subfile line by subfile line) without any gaps. The downside is the increased complexity in your code (each subfile line contains all possible fields - but only displays the ones you want). You want a dynamically built panel without lots of blank spaces? Use a subfile with SFLPAG= SFLSIZ. HTH Larry Ducie
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.