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

one of my friend has shown me lesser code for single page
subfile(but i ve nt taken her code) but since iam following this
book iam taking the code frm this book,Iam just experimenting to
reduce the code as it is very lengthy,Iam looking for lesser code
than this....its nt displaying the records properly...first time
if ur  doing pageup its showing properly records (pageup),after
reaching first record and do pagedown its showing records in
proper manner,but when u r doing pageup next time(second time
onwards)its nt showing the records properly ,Iam nt getting the
same result as i got when i displayed the subfile for the first
time....Hope u understand
Regards,
Murali




On Wed, 13 Nov 2002 Buck Calabro wrote :
Hi Murali!

>I have taken this example of single page load subfile
>from Michael Catalani book "subfiles for RPG
PROGRAMMERS".....
>This is nt working properlyon V5R1..when iam going for
page-up
>especially its giving variety of results...

Could you describe the results you expect and the symptoms you
are seeing?

>Can you please help me in reducing the code for writing
pageup
>key...Its very laborious I request you help me in reducing
the
>code ?

The code doesn't look too bad to me; this is the sort of thing
you must do
when using a single page subfile.  You the programmer need to
control the
position of the file cursor and be able to handle "half filled"
pages when
paging up and down.  Aside from moving the "z-add 0 rrn" into the
load
subroutine, there isn't any obvious way to reduce the code
without knowing
what you want the code to do.
  --buck
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L)
mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com.  Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/



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.