× 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.



For a page-at-a-time subfile, you might load a hidden subfile field with
the 
Physical file's record's RRN when the subfile is loaded.

Then if it's selected in the subfile, either write the hidden subfile
field holding the phys file RRN to a work/built/temp file or add it to
an array.

(The reason I say to use the phys file RRN is in case there are dupe
keys)
( this would all depend on your needs )


[Disclaimer]

This is my theory, I haven't done this for a long time.

John B.



Stop your whining.
 -- Schwarzenegger in some movie.

The important thing in life is not the triumph but the struggle.
 -- Pierre de Coubertin

That which doesn't destroy me....  oh well.



> ------------------------------
> 
> message: 4
> date: Wed, 22 Mar 2006 11:12:51 -0500
> from: "Charles St-Laurent" <dringpiece@xxxxxxxxxxx>
> subject: self-extending subfile and multiple selection?
> 
> Hi!
> 
> I read an article about self-extending subfile to navigate through
data.
> The
> technique looks quite simple. Each time the user press the PageDown
key,
> or
> the alternate key associated to the PageDown action, the program takes
the
> control and fills the next subfile page. But if the user press the
PageUp
> key, the system handles it.
> 
> There is limitations about this technique. The number of records the
> subfile
> can contain is still limited to 9999. What if my file contains about
300
> 000
> entries and a maniac user tries to scroll down to the end of the file?
> 
> In the other hand, if I use a subfile with SFLSIZ = SFLPAG, how can I
trap
> multiple selection in the subfile. I mean, what if the user selects a
> record
> in one page, press the PageDown key, and selects another record in
that
> page? If I clear the subfile each time the user press the PageUp or
> PageDown
> key, the READC won't see the selected records from the previous pages,
> only
> the ones in the current page, isn't it?
> 
> What's bugging me is the limited size of a self-extending subfile and
the
> case of a multiple selection between pages. Is there a way to have a
> self-extending subfile that can be greater than 9999 records and
handles
> the
> selection of multiple records through different pages?
> 
> Charles St-Laurent


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.