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



Charles,
   
  In the SinglePage Subfile we store the options entered along with the key of 
the record in alternating arrays (one on the key, One on the key including the 
option).
  In this way:
  - We can restore the option when the user comes back on a former screen (just 
lookup in the Only Key one and get the option from the alternate).
  - Execute the option sequenced on the base key of the file (just sort the 
array and process the key's from the array).
  - We can return to the correct subfile position in case of F12 or errors 
(just put the key from the array in the keylist, position and read from there).
  This is working great also when you need/want more possible sortings and 
positioning posibilties in your subfile.
  The arrays have there limit but a normal limit like 200 give normal users no 
problems (just issue an message to the user, asking to press enter (to process 
the options) when they reach the limit of the array).
   
  We use this kind of subfiles exclusively.

  Kind regards,
  Eduard Sluis.
  
Charles St-Laurent <dringpiece@xxxxxxxxxxx> wrote:
  
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?

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.