|
I like the *FCFC. Does it work if the programmer didn't use indicator OF? In other words, does it work every time the report goes past top of form? Richard Jackson mailto:richardjackson@richardjackson.net http://www.richardjacksonltd.com Voice: 1 (303) 808-8058 Fax: 1 (303) 663-4325 -----Original Message----- From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On Behalf Of Don Sent: Wednesday, September 06, 2000 9:04 AM To: RPG400-L@midrange.com Subject: Re: page n of x Simple solution in my book: 1. Run pass one over the data. 2. cpysplf with *FCFC to db file 3. read dbfile counting how many '1' in column one you find.. 4. read step 2 splf again, this time you just mod the "PAGE 1234" area of of the SPLF to be PAGE 1234 OF 9999. Gary, this should make for a simple column in your magazine, and I may do a quickie "headsup" for AS400 Mag... +--- | 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 +--- +--- | 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.