Solved

Triggering Page Up or Page Down?

Posted on 2002-07-09
5
423 Views
Last Modified: 2010-08-05
Is it possible to trigger Page Up or Page Down in an RPG-program?  It's a program that uses subfiles.  Now the program goes to the end instead of waiting and displaying the first 20 records.   So now I want to manipulate the program to go back.  Can someone prevent me with some help and code?

Thnx!
0
Comment
Question by:Pingolin
5 Comments
 
LVL 16

Expert Comment

by:theo kouwenhoven
ID: 7141912
So what you say is that the subfile is displaying the last (20) records instead of the first 20...

If that is the only problem, you ave to do the folowing:

While writing the subfile you are using a field with the subfile record number!. After the writing of the subfile is complete, reset this number to 1. and the first 20 records are displayed.

I hope that tis is what you want.. If not please explain your question more detailed.

Regards and good luck.

0
 

Author Comment

by:Pingolin
ID: 7142882
I'm sorry, but that didn't work out.  I already solved it myself by an other way without triggering.  Triggering was not a good solution because I got stuck by using different subroutines.

Next time better I hope.
0
 
LVL 3

Expert Comment

by:P_S_Price
ID: 7149036
Thats Naught cause Murphey did give you the answer (SFLRCDNBR)
0
 
LVL 16

Accepted Solution

by:
theo kouwenhoven earned 100 total points
ID: 7150797
Hi Pingolin,

of cause you got stucked in this way only the setting the recordnumber back to 1 is the only way to solve this.

Regards,
0
 
LVL 33

Expert Comment

by:shalomc
ID: 8966494
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Murphey2's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

ShalomC
EE Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now