× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Alan

I think I lost the thread and the plot - literally :-)

In one post you had said that you use SFLPAG = SFLSIZ to get around the
issue of users wanting the 10,000th record, but you didn't want to reload
the subfile from the 10,000th record and then you went on to say in a later
post that users wouldn't scroll through the 10,000 records they would use a
position field.

My misunderstanding was that I forgot you were advocating SFLPAG = SFLSIZ
which would force you to reload the subfile every time, and got stuck on
what seemed a contradiction that you didn't want to reload the subfile.

I think I'd better go and have a large Espresso or something and re-read the
threads when my brain is working again.

All the best 

Jonathan
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Alan Shore
Sent: 19 April 2006 14:33
To: RPG programming on the AS400 / iSeries
Subject: RE: prob in subfile...


Hi Jonathan,
thats the reason for this thread/conversation. I prefer to use
page-at-a-time subfiles, because there IS no limit of 10,000 or so records
for the sub-file.
Alan


                                                                           
             "Jonathan Mason"                                              
             <jonathan.mason@a                                             
             stradyne-uk.com>                                           To 
             Sent by:                  "'RPG programming on the AS400 /    
             rpg400-l-bounces@         iSeries'" <rpg400-l@xxxxxxxxxxxx>   
             midrange.com                                               cc 
                                                                           
                                                                   Subject 
             04/19/2006 09:11          RE: prob in subfile...              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
              RPG programming                                              
              on the AS400 /                                               
                  iSeries                                                  
             <rpg400-l@midrang                                             
                  e.com>                                                   
                                                                           
                                                                           




Hi Alan

>> You don't have to scroll down 10,000 records, how about giving the user
a
>> position to field?

So, if your user repositions to the 10,000th record after the first page is
loaded do you then read the next 9,990 or so records to get to the one your
user wants?  Personally I would reload the subfile starting from the
10,000th record and handle any paging up programmatically.

Jonathan




--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.