• Subject: Re: Sort records in subfile
  • From: tomh@xxxxxxxxx
  • Date: Tue, 27 Jun 2000 11:14:44 -0500


The way I've done this in the past was to write the data first to a keyed
dataq, then read from the dataq and write to the subfile.  Involves some
APIs; unfortunately, I'm away from the office.  When I get back I can post
some code that shows how to do it, if you like...




                                                                                
                                         
                    "Timura, Patrik                                             
                                         
                    (CAP, GCF)"                To:     
"'RPG400-L@midrange.com'" <RPG400-L@midrange.com>                 
                    <Patrik.Timura@geca        cc:                              
                                         
                    pital.com>                 Subject:     Sort records in 
subfile                                      
                    Sent by:                                                    
                                         
                    owner-rpg400-l@midr                                         
                                         
                    ange.com                                                    
                                         
                                                                                
                                         
                                                                                
                                         
                    06/27/00 07:00 AM                                           
                                         
                    Please respond to                                           
                                         
                    RPG400-L                                                    
                                         
                                                                                
                                         
                                                                                
                                         




Hi all :-)

How are you doing today ?

I have a question - is any possibility to sort records in the subfile ? I
am
trying to give to user chance, when listing in a subfile, to see the
records
sorted ...

any suggestions ?

Thank you and wish a nice day :-)
+---
| 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 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.