×
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.
On 15/01/2010, at 6:49 AM, THarteau@xxxxxxxxxxxxxxxxxx wrote:
I am pretty new to subfiles & need to get an inquiry program
out
quick. I copied a maintenance program to get the framework and
everything
is working except the page down. My page is 15 long and there are 17
records. I have looked at this so long, I am not seeing it
anymore. Can
anyone help get the page down to work?
You need to explain exactly what is not working. What happens when you
press page down? Does the program actually build the second page? If
so is your problem that although the second page is built only the
first page is displayed? If so then does pressing page down again
cause the second page to display?
Doesn't this:
C InItem SETLL HTWL04
always cause you to start at the beginning of the available data
therefore you are building multiple pages but each page contains the
same data?
Note: You could improve things greatly by changing your coding style.
Use separate indicators for the SFLxxx keywords, condition ROLLUP on
whether you have data to display (that way ROLLUP won't be active on
an empty subfile). You are using RPG IV so use the built-in functions
for %FOUND instead of *IN56 and %EOF instead of *IN90.
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists
http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
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.