Sometimes in 2E developers just assume that there is an aspect of 2E that cannot be customized. For years we just work around items when really those items can be changed and adjusted. One of those items are the F7 & F8 keys. By default 2E is shipped with the F7 & F8 keys as page up and page down, but, that default can be changed. This frees up these keys to be able to be used in your Edit File and Display File functions for other purposes.
First we need to start at the Edit Database Relations screen as in the following screen shot.
From the Edit Database Relations screen take the F7 function key to take yourself into Fields as in following screen shot.
Now search for a field named *CMD key as in the following screen shot.
Now Zoom into the details of the *CMD key field as in the following screen shot.
Now even though it’s not on the screen use the F9 key to go into the Conditions for the *CMD key field as in the following screen shot.
OK now what we need to do is adjust the entries in two Conditions lists. The first list we will work with is the *Next page list. So once we find the *Next page list Zoom into the details as in the following screen shot.
As you can see the F8 key is highlighted in this list along with (if you page down) the ROLLUP key. What we want to do now is remove the F8 key using the – . as in the following screen shot.
Now that the F8 key has been removed, this frees up the F8 key for use in other purposes for Edit File or Display File functions.
Now we would do the same process for the *Previous page list. But, for that list we would remove the F7 key. This then frees up the F7 key for use in other functions.
And, there you have it! It’s a very simple change, but something that a lot of 2E shops out there don’t know about.