Wednesday, August 13, 2008

Efficiently Handling Subfile ‘More’:

To get a subfile to display the "More..." or "Bottom" automatically is an easy process for subfiles when configured in the mentioned way. In the subfile control record we need to use the same indicator for both the SFLDSP and SFLEND(*MORE) keywords as follows:
A 26 SFLDSP
A 26 SFLEND(*MORE)
Then in the program, when we write the first subfile record, the indicator will be turned on. As the subfile fills up, it will automatically put the correct value at the bottom of the screen.

No comments: