Hi friends,
I am using a load all subfile , and currently i am in in
the third page of the subfile , from third page i have
selected a record and called some other program .on
returning, subfile is being loaded from the frist page. so
can any one kindly suggest me in retaining my third page
after returning. i.e loading from third page.

Answer Posted / ld123q44

Just before you make the call make a note of (a) the
relative record number of the first record on the page and
(b) the relative record number of the record you are making
the call from.
Now, when you to redisplay the page after the call you can
start the display either from rrn from (a) from rrn from (b).

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we override a file during runtime in rpg?

688


What is a record lock error?

1267


How to declare the pull button in AS/400..

1882


How would display prime numbers using CL program?

5680


What is difference between bind by copy and bind by reference?

1730






do you use message subfiles? What are the necessary keywords required coding a message subfile?

687


which program rpg or cl is efficent to update a transaction onto a database file and why ?

747


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2199


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1561


What is the difference between copybooks and subprocedures in as400?

809


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1312


How to select highest score of each subject or how to select highest income of every month?

1295


what is kids-rpg?

667


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4211


how do I preserve and clean the array?

675