|
Paul, > My own personal problem with subfiles is how difficult it is to code > one that encapsulates all the nice list functionality. For example, > if you want "Position to:" functionality, you need SFLPAG=SFLSIZ. If > you want to be able to select multiple records on different pages, and > page back and forth at will without losing these selections, you > either code SFLSIZ>SFLPAG, or handle it manually. And don't get me > started on reliably positioning the list, and positioning the cursor > in the list. As far as being "able to select multiple records on different pages, and page back and forth at will without losing these selections", you may be interested in an article in the September 1999 issue of News400, "The Power of User Indexes" which is, I believe, the answer to the problem you describe. In fact, author Gary Guthrie describes his first experience with U.I. was for this very reason. I plan on checking this out soon. > I've said it before - if UIM were easier to code, it would have > answered a lot of my prayers. It handles all the boring stuff like > actually displaying the data and managing user input, leaving the > business logic to the programmer. I dunno, Paul. I've done UIM before... I think it's even more mystical than all the subfile incantations. Won't touch it again. - Dan Bale +--- | 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 mailing list archive is Copyright 1997-2025 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.