Solved

Triggering Page Up or Page Down?

Posted on 2002-07-09
5
422 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 32

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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

18 Experts available now in Live!

Get 1:1 Help Now