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



If you add a scrollbar then you will want the SFLSIZ to be the actual Subfile size - that is where the program gets the correct information for setting the scroller bar's length to give the user the relative size of the subfile.

As an aside, subfiles above 2600 in length are almost unusable, so the 9999 size may give you fits with users. (13 records/page means 200 clicks to get to the end of the file. Even if that is OK, stopping at a particular page is almost impossible.)

On 4/15/2011 10:52 AM, Alan Shore wrote:
Hi Robert
it can be, but as long as the sflsiz is larger than sflpag, then it will continue to be a load all
I don't know what the pros or cons are of making the sflsize 1 more than sflpag or tons more than sflpag

Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert Rogerson
Sent: Friday, April 15, 2011 11:26 AM
To: Midrange Systems Technical Discussion
Subject: Re: Subfile programming 101 problem with load all subfile

Hi Alan,

For a load all subfile shouldn't the SFLSIZ be 9999?

Robert Rogerson

On Fri, Apr 15, 2011 at 11:15 AM, Alan Shore<ashore@xxxxxxxx> wrote:

Hi everyone
this may be a situation where I cannot see the wood for the trees (at
least
- that's what I hope it is)
Whenever I need to create a subfile program, I use a template and
create a page-at a time subfile This particular case, I can guarantee
that the limit of 9,999 records being displayed will NOT be reached,
so I decide to do a load all subfile My SFLSIZ is larger (13) than my
SFLPAG(12) and I have no problems in displaying the data EXCEPT when I
reach the end of the display My SFLEND(*MORE) is operating as
expected. The only problem is that when I press the Page Down key, it
starts from the beginning I expected it to NOT move and give me an
error When I start from the beginning, and press Page Up, nothing
seems to happen, but at the same time, I do not receive an error
Anyone have any ideas?


Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.