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



Hi Manav

Your welcome.

www.code400.com has some examples of subfiles in the RPG/RPGLE section and 
http://martinri.freeshell.org/as400/rpg/custsfl1.html is an RPG III example
of a subfile.

Hope they help

jonathan
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of manav singh
Sent: 28 April 2006 15:40
To: RPG programming on the AS400 / iSeries
Subject: Re: RE: prob in subfile...

  
hi jonathan..
thanks for your co operation..buddy i am now using expandable instead of
page by page:)(or single page...)
but can u please give me the site adress where i can find examples ..on
subfiles..on google land ther are lot of paid sites..
i want a godd site that is free ..

thanks one again.

On Tue, 18 Apr 2006 Jonathan Mason wrote :
>Hi
>
>Not quite sure I follow the question, what do you mean by "single page
>subfile"?
>
>Subfiles are usually defined as one of the following:
>
>Extending Subfile - Here the SFLSIZ is one greater than the SFLPAG and you
>initially load just the first page of data.  When the user presses Page
Down
>the program adds another page of data to the end of the subfile and all
data
>entered into the subfile fields are retained.  When you have two or more
>pages in the subfile pressing Page Up is controlled by the subfile itself
>and no processing is done by the program.
>
>Load All Subfile - Here the SFLSIZ is usually a multiple of the SFLPAG, and
>you basically load all of the records to the subfile before displaying it.
>That way page down and page up are both controlled by the subfile itself
and
>not by the program and all fields retain their data (or what you typed) as
>you page up and down.
>
>Single Page Subfile - Here SFLSIZ is the same as SFLPAG and you only ever
>have one page of data in the subfile.  If you press Page Down then your
>program would replace the contents of the subfile page with new data and
>would therefore have to process it first.  Pressing Page Up would have the
>same effect, so if you wanted to retain any data you had typed on a
previous
>page you would have to handle it within your program.
>
>Most of the subfiles I have come across on the AS400/iSeries/i5/whatever
>have tended to be of the extending type and I would guess that is probably
>what you need to be coding.  There are plenty of examples out there in
>Google Land.
>
>Jonathan
>
>-----Original Message-----
> From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
>On Behalf Of sunny singh
>Sent: 18 April 2006 17:43
>To: rpg400-l@xxxxxxxxxxxx
>Subject: prob in subfile...
>
>hi  all. i am using a single page subfile , as the first screen in which
the
>user can key in option 4,  and can select multiple  records on all  by page
>down and page up..
>   now i want to know that weather is it possible '''
>   that the options are visible doing page up and page down.....
>   in a single page subfile......(rpg 4000)
>   if possible how..
>   have a nice day..
>
>
>
>---------------------------------
>Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
>--
>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.
>
>
>
>
>
>
>--
>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.