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



Subfiles over some number, about 2500 in my experience, become unmanageable to navigate. Record number 9,900 is more than 450 page downs. Few users will have the patience for that.

Consider using for/endfor loops instead of READC. Much easier to implement and performance is a non-issue.



Charles St-Laurent wrote:
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 ...

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.