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



Thanks.  I thought of that but I can't do that in this case.  Each line
contains a field that is a total of sales from a selection of records from a
huge file.  2500 records would take about 15 minutes to load into the
subfile.

Rick Weber  |  TOYS 'Я' US International 

-----Original Message-----
From: Booth Martin [mailto:booth@xxxxxxxxxxxx] 
Sent: Wednesday, August 09, 2006 3:59 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: SFLDROP (Subfile Drop) Question

Suggestion 1:  If there is anyway to use a load-all, do it.  2500 
records or less and its the only way to go.



Weber, Richard wrote:
I have a program with a subfile that displays 12 records at a time.  Each
time I page down, I add 12 more records.  I use the SFLDROP keyword to let
the user view a second line of data when an f-key is pressed.  So far,
nothing out of the ordinary.

 

Here's then scenario: Program opens by displaying the subfile collapsed, 1
line for each record, 12 records.  I press the function key to show the
subfile expanded.  I now see the first 6 records, 2 lines for each record,
as expected.  I pagedown once, now I see the next 6 records from the
collapsed screen, 2 lines each, still as expected.  Here's the funny part:
I
hit the function key to collapse the subfile again and I see the last 6
records, one line each, and 6 blank lines following:  Since I haven't
paged
down enough yet to add 12 more records to the subfile.  If I page down
now,
12 more records get read, and the second full page of 12 records is
displayed.  

 

I'd appreciate your suggestions.

 

Richard L. Weber  |  Senior Systems Analyst, TOYS 'Я' US International  |
973.617.3497  |  weberr@xxxxxxxxxxx <mailto:weberr@xxxxxxxxxxx> 

 

                     There are only 10 kinds of people in the world:
Those
that understand binary and those that do not.

 


======================================================================== 
This email message is for the sole use of the intended recipient (s) and
may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly,
send
an email to EmailAdmin@xxxxxxxxxxxx 
Toys "R" Us, Inc.


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.