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



Jay - there are three types of sub-files that are available for use
1. Load entire file
2. Add a page at a time
3. Display a page at a time

1 and 2 have a limit of 9,999 record that can be loaded.
3 has an unlimited number of records that can be displayed, but you (the
programmer) control what data is loaded. The logic of your program has to
determine what to do for page-up, page-down, position-to etc.
For an array of 15,000 entities, subfile type 3 is what I suggest.
There have been plenty of examples posted on the internet for this type of
sub-file. One of the major keys is SFLSIZ = SFLPAG



Alan Shore

NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxxxxxxxxxxxx@midrange.com wrote on 11/20/2006 02:17:09 PM:

Ok, I am currently loading entries from an array defined with 15000
entities
into my subfile.  I allow the user a cmdkey to go straight to the bottom
for
totals using the sflrcdnbr keyword... HOWEVER, the sflrcdnbr keyword will

only allow a variable defined 4s0 or less, not 5s0...
What am I to do???





Thanks,


Jay Vaughn
iSeries Senior Programmer/Analyst
RateWatch
jayv@xxxxxxxxxxxxxx
251-633-8929
--
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.