|
All this talk of subfiles has me thinking--- I'd like to hear some views on techniques used when SFLSIZ=SFLPAG. I've been a codin' fer about 10 years and have only recently had my eyes opened with the possibilities of this neat feature. I find it very intriguing. Of course you know that field selection is possible. But further, on each write to the subfile, the data may occupy any number of lines you want. For example, one line can show header info such as vendor info. Then for a detail line, you can write a record that occupies 2 lines. Further, if a optional data is present, one can write a record that occupies 4 lines. All these can be present in the same subfile. My enigma has been trying to find a good skelatal method for doing this. It's tough when building pages of data that are variable in nature. Of the different schemes I've tried are: Using a work file where you can build your subfile page behind the scenes. You build the work file first---then you can analyze those records and determine how many lines they will occupy on the screen. Then there's the approach of doing it with live data...determining, as you go, the real estate taken up by the data you are accessing. Of course, we've not even discussed paging back through data...tougher yet. Sorry to carry on, but it'd be nice to hear how some of you have handled these puppies. Wynn Osborne Sen P/A Florida +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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 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.