0 pts.
 subfile
how to return the control to the program in self expanding subfile while pressing page up

Software/Hardware used:
ASKED: September 22, 2006  2:17 PM
UPDATED: December 23, 2009  4:30 PM

Answer Wiki:
By "self-expanding" do you mean a "self-extending" subfile? If so then this type of subfile only returns control to the program when it tries to read past the end of the subfile at which point it will add data to the end of the subfile, thus extending it. When Page Up is pressed the system knows that the data is already there and that there isn't anything before the first record so it handles the paging itself. Why do you want to return control to the program?
Last Wiki Answer Submitted:  August 1, 2008  10:04 pm  by  astradyne   370 pts.
All Answer Wiki Contributors:  astradyne   370 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

how to return the control to the program in self expanding subfile while pressing page up

Why would you want to?

Perhaps if you had responded with a description of the business problem you are trying to solve, an appropriate (alternative) solution could be offered. Sometimes, the way a question is asked will restrict possible answers.

Tom

 110,135 pts.

 

The only way to do that is to create your subfile with SFLSIZ = SFLPAG. That way control will return to your program for both page-up and page-down.

 1,410 pts.