Link to home
Start Free TrialLog in
Avatar of Pingolin
Pingolin

asked on

Triggering Page Up or Page Down?

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!
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

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.

Avatar of Pingolin
Pingolin

ASKER

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.
Thats Naught cause Murphey did give you the answer (SFLRCDNBR)
ASKER CERTIFIED SOLUTION
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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