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 astradyne370 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
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.
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
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.