I have a simple subfile created where the user is able to enter up to 42 detail records (6 per page). The subfile will be used for entry only and will not display any records from a file. I have the subfile defined as a size of 42 with a page size of 6.
The functionality is working correctly in regards to allowing the user to enter up to 42 records and have the records written to the file successfully.
The user has added a request that they would like to have the cursor position to the beginning of first field in the subfile each time they page down.
I attempted to use the CSRLOC along with the PageUp and PageDown keywords in my DDS and this seems to be the way to do it. The problem is the PageUp and PageDown indicator is only being turned on when I scoll and reach the end of the subfile......the first 6 pages of the subfile I can page through and the indicator doesnt get turned on at all.
If I could just get that indicator to turn on each time pageup or down is pressed then it would work fine.
Any thoughts?
The functionality is working correctly in regards to allowing the user to enter up to 42 records and have the records written to the file successfully.
The user has added a request that they would like to have the cursor position to the beginning of first field in the subfile each time they page down.
I attempted to use the CSRLOC along with the PageUp and PageDown keywords in my DDS and this seems to be the way to do it. The problem is the PageUp and PageDown indicator is only being turned on when I scoll and reach the end of the subfile......the first 6 pages of the subfile I can page through and the indicator doesnt get turned on at all.
If I could just get that indicator to turn on each time pageup or down is pressed then it would work fine.
Any thoughts?




Comment