Those pesky F7 & F8 keys.

Morning!

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.

Screen Shot 09-21-16 at 08.09 AM

From the Edit Database Relations screen take the F7 function key to take yourself into Fields as in following screen shot.

Screen Shot 09-21-16 at 08.16 AM

Now search for a field named *CMD key as in the following screen shot.

Screen Shot 09-21-16 at 08.18 AM

Now Zoom into the details of the *CMD key field as in the following screen shot.

Screen Shot 09-21-16 at 08.20 AM

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.

Screen Shot 09-21-16 at 08.22 AM

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.

Screen Shot 09-21-16 at 08.25 AM

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.

Screen Shot 09-21-16 at 09.09 AM

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.

Happy Coding!

Jason

 

 

 

 

 

 

3 comments

  1. leanne says:

    would love to do this but when I access the Edit List Condition as a designer, the select field is protected and preventing me from removing the values. Is there a step I’m missing

  2. Jason Olson says:

    Leanne,

    I’m not totally sure what you mean by select field. You should, as Designer, be able to Zoom into the details of the *CMD key field, use F9 to go into the conditions, and then Zoom into the specific lists, then use the – sign to remove values from the list. I’m unaware of any locking or restriction that could be preventing you since you are in as designer.

    Thanks!

    Jason

    • leanne says:

      Jason
      Thanks for responding back. By select, I was meaning “-” (minus) the CF07 (and CF08). That is not available to me when I’m logged in as a designer. We are at the latest release level; could this be a change to this release? Also, I had another senior developer try this and he too had no luck.

Leave a Reply

Your email address will not be published. Required fields are marked *

Current month ye@r day *

 
 
© 2013 CM First Group - All rights reserved