• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 772
  • Last Modified:

AS400 Subfile rolling back to page one when page down pressed after *bottom displayed.

I have a subfile with 9999 as the sflsize and 21 as sflpage.  

I load all records into the subfile and display.  When the screen reaches the end of the data the *bottom is displayed correctly on the screen.  However, when page down is pressed again it restart the display a page 1.  

I don't want to load a page at a time in the program .... is there a setting that will keep it from restarting?

Thank You!
Lynn
0
lynn_harris
Asked:
lynn_harris
1 Solution
 
Gary PattersonVP Technology / Senior Consultant Commented:
Lynn,

This is something your program is doing, not something inherent in subfiles.  I suspect that when you hit page down at the end, you are falling back into your "reload" loop and reloading the subfile.

Run the program under debug, and I think it will probably be apparent what is happening.

If that doesn't work, post you code and dspf DDS.

- Gary
0
 
lynn_harrisAuthor Commented:
Hi Gary,

Yep, it is.  Fixed it.

Thanks,
Lynn
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now