Key Mapping in Forms 10g

Dear All,
I have migrated forms 3.0 in unix to forms 10g in windows 2003 server.
In my older version, '+' key is mapped to do COMMIT. I want to map the same key in forms 10g. i tried the same in my frmweb.res. Pls find the mapping done by me below.
*107 : 0 : "Add" : 36 : "Commit"*
This works fine.
The Issue is ... My cursor is in a text item .... I entered some data and press " + " key to save. The data is saved but at the same time the data in the text item is erased and + is getting replaced in the text item. I dont want my data to be erased and replaced with "+" symbol.
How to map the "+" just for COMMIT and should not replace the data in the text item ?
Can anyone help me to solve this issue...
Thanks in Advance
Sharf

Unfortunately, sometimes the role of the developer is to educate the user/management what can/can't and should/shouldn't be done. If I were in your postition, I would make every effort to educate the user/management this this is a REALLY bad idea and encourage them to use the standard key mapping or use a modifed key mapping that uses just the F-Keys.
The problem you have to overcome is that you have to not only tell Forms to do something different when the '+' key is pressed, but you have to have a listener in your application that is listening for the '+' key and supress the '+' character. To my knowledge, this cannot be done with native Forms built-ins. You would have to write your own Java solution (JavaBean or Pluggable Java Component [PJC]) to suppress the '+'. I have found that if you can provide the user/management with a cost estimate associated with the effort needed to code a particular feature. Once they realize the level effort and more importantly the cost associated with coding a particular feature, they typically will change their mind and see reason.
I know this is not what you wanted to hear, but I hope it will help anyway. :(
Craig...
Edited by: CraigB on Aug 2, 2010 2:05 PM
Edited by: CraigB on Aug 2, 2010 2:07 PM

Similar Messages

  • Key mapping for forms on web

    Presently we are using forms 4.5. We have got costomise key
    mapping for operating through forms. Now we want to start forms
    on web (Intranet). Earlier we use to change key mapping through
    oracle*terminal. I require help in knowing how to customise key
    mapping in forms 6i / oracle 8.1.7.

    Hi,
    Boy, I have some good news to you: Oracle*Terminal is no longer
    needed.
    WordPad (or your favorite text editor) is your tool from now on.
    Keyboard files are located in $ORACLE_HOME\FORMS60.
    Simply ignore the binary file fmrusw.res when you run Forms on
    the Web. FMRWEB.RES is the one that is used, and it's pure ASCII.
    There are some comments in the file itself.
    The keys are the same as the Motif version of Forms.
    If you prefer the Windows keys, simply use FMRPCWEB.RES instead.
    How? Check under $ORACLE_HOME\FORMS60\SERVER for your
    formsweb.cfg, go to User Parameters and replace the
    otherparams=
    line with
    otherparams=term=%forms60%\fmrpcweb.res
    Now, anyone can define the Function-0 till Function-9 key
    combinations, in order to use KEY-F0 till KEY-F9 triggers.
    Hope this helps,
    Pedro das Neves
    [email protected]

  • Font mapping in Forms 10g on Unix/Linux

    Hello,
    does anybody have a adea how font mapping in forms 10g works on Unix/Linux.
    As far as I know I do have to have a X-Server running on the node so that forms can mapp java fonts, is this true?
    What configuration options do I have on the server.
    Can I differ strictly between development tasks (consideration of developer) and admin tasks ([configuration]considerations of Application Server Admin) referring font mapping in forms 10g?
    Is there any "Best Practices to this subject?
    Thank you.
    Regards
    Frank

    Hello Frank,
    - fontmapping takes place in Registry.dat file?!
    - According to your article "Forms: Using custom fonts in Oracle Forms Services 10g" I only have to customize fontmapping in Registry.dat file.
    -Customer developes on MS-Client and uses Arial,but is surprised about displayed font, which is´nt Arial.
    -Can I just customize font mapping in Registry.dat as follows (according your example)?
    default.fontMap.appFontnames=x,y,Arial
    default.fontMap.javaFontnames=u,v.Arial
    What do we have to consider on client site?
    What´s about java on client (JInitiator)?
    Regards
    Frank

  • KEY MAPPING in FORMS 6i

    Hi Friends,
    I'm working with Forms 6i, WinXP, Oracle DB 10g in C/S mode. I want to map the keys i.e. I want to write triggers which will define the action of some function keys. I installed oracle terminal, I modified FMRUSW.RES accordingly. Still not getting the result. If there is anyone who already have worked on this please notify my mistake. I will describe the steps in detail if u want.
    Pls help,
    Regards,
    Pragati.

    Hi,
    I coded the key mapping as follows:
    I created a menu item. To call the code, you have to give a name for an accelerator key in the property palette for the menu item e.g. "start_menu".
    Let's say, to invoke the menu item, you have to press "Ctrl+E". So you have to set the key mapping in your *.res-file like this:
    69 : 2 : "Ctrl+E"           : 85 : "start_menu"
    Explaination:
    69: Code for "Ctrl+E"
    2: Java Modifier Number for "Control"
    85: Forms function number ("User Defined Key 3", look at the file I send to you !)
    I don't know, if that's the solution, because you wanted to map F1, F2...., but it shouldn't be a problem to switch my solution to F-keys. But perhaps, some of the Forms functions (e.g. F7 for Enter-Query-Mode) won't work then.
    Hope this helps.
    Regards,
    Markus

  • Keyboard Function-Key mapping in Forms 10gAS

    Greetings,
    Can anyone help with a quick outline of the way keyboard function keys are implemented on the Application Server in Forms 10g?
    My situation is that I have two unix servers, one for Development, one for Production. When running my Forms from a browser window, one of the servers responds to the F8 key for Execute-Query, the other server does not.
    I presume the mapping is done on the server, with some sort of configuration file. Perhaps something's been overridden by mistake somewhere. I have checked forms.conf, forms.properties, formsweb.cfg and frmweb.res, and cannot see anything that might relate to these Keyboard Function-Key settings. I've also tried finding a Developers Reference Manual online, but have had no luck.
    It's bound to be something really simple, but I can't seem to crack it. Do you know what I'm missing?
    Pete ?:|

    There are two basic versions of key mapping fmrweb.res files. Forms is released with a fmrweb.res file that has Ctrl+S for commit.
    But there is also a fmrpcweb.res file that can be used in place of the other -- you just rename it as fmrweb.res in the other's place.
    Both files are simple text files you can edit with Notepad or other simple text editors.
    You can find more about fmrweb.res in the first post (a ways down) in this thread:
    Forms 10g installed and running on Windows Vista

  • Creating Descriptive & Key FLEXFIELDS in Forms 10g

    Hello everyone,
    I want to create Descriptive & Key Flexfields in Oracle Forms 10g,Kindly help........

    A FLEXFIELD IS A FIELD MADE UP OF SUB–FIELDS, OR SEGMENTS. THERE ARE TWO TYPES OF FLEXFIELDS: KEY FLEXFIELDS AND DESCRIPTIVE FLEXFIELDS.
    KEY FLEXFIELDS:
              I HAVE A COLUMN CALLED ADDRESS(SINGLE FIELD),WHEN I KEEP MY CURSOR ON THIS FIELD AND PRESS ENTER,IT POP'S UP A WINDOW WITH ALL NECESSARY FIELDS CORRESPONDING TO ADDRESS LIKE,DOOR-NO.,STREET NAME,CITY ETC.... WITH AN OK & CANCEL BUTTON.
    ONCE I GIVE THE VALUES ACCORDINGLY IN THE ADDRESS FIELD AND CLICK OK BUTTON IT STORES ALL THE VALUES IN WINDOW TO THE ADDRESS FIELD.
    DESCRIPTIVE FLEXFIELDS:
    DESCRIPTIVE FLEXFIELDS LETS YOU ADD ADDITIONAL FIELDS TO THE FORM IN ORDER TO TRACK ADDITIONAL INFORMATION NEEDED BY THE BUSINESS, THAT WOULD NOT BE CAPTURED BY THE STANDARD FORM. DESCRIPTIVE FLEXFIELDS CAN BE CONTEXT SENSITIVE, WHERE THE INFORMATION YOUR APPLICATION STORES DEPENDS ON OTHER VALUES YOUR USERS ENTER IN OTHER PARTS OF THE FORM.
    A DESCRIPTIVE FLEXFIELD APPEARS ON A FORM AS A SINGLE–CHARACTER, UNNAMED FIELD ENCLOSED IN SQUARE BRACKETS [ ]. EACH FIELD OR SEGMENT IN A DESCRIPTIVE FLEXFIELD HAS A PROMPT AND CAN HAVE A SET OF VALID VALUES
    THIS CONCEPT IS USED FREQUENTLY IN ORACLE APPLICATIONS, WHICH I WANT TO IMPLEMENT IN FORMS 10G.I BELIEVE WITH YOUR EXPERTISE I WILL BE ABLE TO AHIEVE IT.
    REGARDS ,
    SRINI.

  • Trap Key pressed in Forms 10g.

    Hi All,
    Have anyone trapped the keys which are pressed in Forms 10g. We have a requirement in which in a LOV Form when TAB key is pressed it should navigate to the next field and when ENTER key is pressed it should select the value from that field and get back to the field from where it was invoked.
    We had tried http://forms.pjc.bean.over-blog.com/article-15980196.html from Francois Degrelle which traps he key pressed. But that is throwing us some error in JInitiator console.
    Expecting a favorable reply from the forum users on this to .
    Thanks in advance

    Monsieur Degrell,
    is it possible to listen just to one item in the form?
    I have triedSet_Custom_Property( 'b_hilfe.bean', 1, 'INIT', 'b_help.search');in when-new-form-instance, where 'b_help.search' is the item i want to listen to,
    but the bean still listen on every item in the form.
    kind regards

  • Key navigation in forms 10g

    During migration of forms 6i to 10g, we are encounterd the followng problem
    In 6i return key navigation is sink with up/down arrow keys.but in 10g up/down key is not sink with return key or tab key.

    I don't understand your problem. Could you give some more details?

  • Key Mapping for Forms

    Hi All,
    I have 100+ forms, I want to disable some keys in them. e.g. Key-Menu, key-duprec. I can not put a trigger with trigger text 'null;' in each form or inherit an object group and generate again. Can I do something global to remove these key mappings?
    Regards
    Mona

    Mona,
    just an idea: maybe you can create your own keyboard file (.res -file) and assign 'harmless' values to
    Key-menu and key-duprec. Then use the term= tag when you call a form, eg:
    form=<yourform> term=<yourterm-file>
    kind regards,
    Ivan
    >Hi All,
    I have 100+ forms, I want to disable some keys in them. e.g. Key-Menu, key-duprec. I can not put a trigger with trigger text 'null;' in each form or inherit an object group and generate again. Can I do something global to remove these key mappings?
    Regards
    Mona

  • How to change key on runtime form in application server

    How it is possible reconfigure key on froms in application server ????
    List Values on Client = key "F9"
    List values on Application = key "CTRL + L"
    and so on.....
    can j have the same on client version like apllication ???
    Thank You !!

    Mike,
    the fmrweb.res file in the forms90 directory controls the behavior of Forms function keys. There is a file called fmrpcweb.res in the same directory that you can use to bring back client/server key mapping to Forms on teh Web.
    1. rename fmrweb.res to something different
    2. Make a copy of fmrpcweb.re and name it fmrweb.res
    Frank

  • Regarding the key mapping for 10g forms as in 6i forms

    Hi All,
    I want the kep mappings of oracle forms 6i to be implemented in oracle forms 10g. I have made the changes in the fmrweb.res file as shown below. Can any one just check it once and let me know whether the mapping is correct?.
    116 : 1 : "Shift+F5" : 69 : "Clear Block"
    85 : 2 : "Ctrl+U" : 3 : "Clear Field"
    118 : 1 : "Shift+F7" : 74 : "Clear Form"
    115 : 1 : "Shift+F4" : 62 : "Clear Record"
    117 : 1 : "Shift+F6" : 63 : "Delete Record"
    112 : 1 : "Shift+F1" : 78 : "Display Error" XX
    76 : 2 : "Ctrl+L" : 7 : "Down"
    40 : 0 : "Down" : 7 : "Down"
    114 : 0 : "F3" : 73 : "Duplicate Field"
    115 : 0 : "F4" : 64 : "Duplicate Record"
    69 : 2 : "Ctrl+E" : 22 : "Edit"
    118 : 0 : "F7" : 76 : "Enter Query"
    119 : 0 : "F8" : 77 : "Execute Query"
    112 : 0 : "F1" : 30 : "Help"
    120 : 3 : "F9" : 29 : "List of Values"
    117 : 0 : "F6" : 62 : "Clear Record"
    34 : 2 : "Ctrl+PageDown" : 71 : "Next Block"
    9 : 2 : "ctrl+Tab" : 1 : "Next Field"
    114 : 1 : "Shift+F3" : 61 : "Next Primary Key"
    1005 : 1 : "Shift+Down" : 67 : "Next Record"
    119 : 2 : "Ctrl+>" : 66 : "Next Set of Records"
    33 : 2 : "Ctrl+PageUp" : 72 : "Previous Block"
    9 : 3 : "Shift+Crtl+Tab" : 2 : "Previous Field"
    38 : 1 : "Shift+Up" : 68 : "Previous Record"
    119 : 1 : "Shift+F8" : 79 : "Print"
    112 : 2 : "Ctrl+F1" : 35 : "Show Keys"
    80 : 2 : "Ctrl+P" : 6 : "Up"
    I am not able to find the mapping keys for the following keys of 6i in 10g. Can these keys be mapped?.
    Accept
    Cancel
    Count Matching Records
    Debug Mode
    Delete Backward
    Left
    New Record
    Next Set Of Records
    Previous Menu
    Return
    Right
    Regards,
    Prasad.

    I think this one will have both keys in 10g from forms 6i/10g...and the rest you asked.
    9    : 0 : "Tab"            : 1  : "Next Field"
    9    : 2 : "Ctrl+Tab"         : 1  : "Next Field"
    9    : 1 : "Shift+Tab"      : 2  : "Previous Field"
    9    : 3 : "Shift+Ctrl+Tab" : 2  : "Previous Field"
    85   : 2 : "Ctrl+U"         : 3  : "Clear Field"
    38   : 0 : "Up"             : 6  : "Up"
    40   : 0 : "Down"           : 7  : "Down"
    33   : 0 : "PageUp"         : 12 : "Scroll Up"
    34   : 0 : "PageDown"       : 13 : "Scroll Down"
    69   : 2 : "Ctrl+E"         : 22 : "Edit"
    10   : 0 : "Enter"         : 27 : "Return"
    120  : 0 : "F9"              : 29 : "List of Values"
    76   : 2 : "Ctrl+L"         : 29 : "List of Values"
    81   : 2 : "Ctrl+Q"         : 32 : "Exit"
    75   : 2 : "Ctrl+K"         : 35 : "Show Keys"
    112  : 2 : "Ctrl+F1"         : 35 : "Show Keys"
    83   : 2 : "Ctrl+S"         : 36 : "Commit"
    121  : 2 : "F10"         : 36 : "Commit"
    114  : 1 : "Shift+F3"       : 61 : "Next Primary Key"
    115  : 1 : "Shift+F4"       : 62 : "Clear Record"
    117  : 1 : "Shift+F6"       : 63 : "Delete Record"
    115  : 0 : "F4"             : 64 : "Duplicate Record"
    117  : 0 : "F6"             : 65 : "Insert Record"
    119  : 1 : "Shift+F8"       : 66 : "Next Set of Records"
    1005 : 0 : "Down"           : 67 : "Next Record"
    1004 : 0 : "Up"             : 68 : "Previous Record"
    40   : 1 : "Shift+Down"     : 67 : "Next Record"
    38   : 1 : "Shift+Up"       : 68 : "Previous Record"
    116  : 1 : "Shift+F5"       : 69 : "Clear Block"
    116  : 0 : "F5"              : 70 : "Block Menu"
    34   : 1 : "Shift+PageDown" : 71 : "Next Block"
    33   : 1 : "Shift+PageUp"   : 72 : "Previous Block"
    34   : 2 : "Ctrl+PageDown"  : 71 : "Next Block"
    33   : 2 : "Ctrl+PageUp"    : 72 : "Previous Block"
    114  : 0 : "F3"             : 73 : "Duplicate Field"
    118  : 1 : "Shift+F7"       : 74 : "Clear Form"
    118  : 0 : "F7"             : 76 : "Enter Query"
    119  : 0 : "F8"             : 77 : "Execute Query"
    122  : 0 : "F11"            : 76 : "Enter Query"
    122  : 2 : "Ctrl+F11"       : 77 : "Execute Query"
    112  : 1 : "Shift+F1"         : 78 : "Display Error"
    80   : 2 : "Ctrl+P"         : 79 : "Print"
    113  : 1 : "Shift+F2"         : 80 : "Count Query"
    123  : 0 : "F12"            : 81 : "Update Record"
    121  : 3 : "Shift+Ctrl+F10" : 82 : "Function 0"
    112  : 3 : "Shift+Ctrl+F1"  : 83 : "Function 1"
    113  : 3 : "Shift+Ctrl+F2"  : 84 : "Function 2"
    114  : 3 : "Shift+Ctrl+F3"  : 85 : "Function 3"
    115  : 3 : "Shift+Ctrl+F4"  : 86 : "Function 4"
    116  : 3 : "Shift+Ctrl+F5"  : 87 : "Function 5"
    117  : 3 : "Shift+Ctrl+F6"  : 88 : "Function 6"
    118  : 3 : "Shift+Ctrl+F7"  : 89 : "Function 7"
    119  : 3 : "Shift+Ctrl+F8"  : 90 : "Function 8"
    120  : 3 : "Shift+Ctrl+F9"  : 91 : "Function 9"
    113  : 0 : "F2"             : 95 : "List Tab Pages"
    72   : 2 : "Ctrl+H"         : 30 : "Help"
    112  : 0 : "F1"              : 30 : "Help"

  • Key mapping on UNIX forms

    We are using character based forms on SGI IRIX (Unix) machine
    as client, I need to map the keys for the client which I have
    never done. Can anybody help me or advice me what are the respective
    steps to do it. I couldn't find a good document on this.
    Thanx in advance.

    You have to use the Oracle Terminal Editor to create key mappings. D2k uses a file called FMR*.RES for key mapping. Look in the Forms directory and you will find this file. Open the RES file with Oraterm and edit.

  • Enter key not working in forms 10g

    Hi guys,
    Enter key to select a form is not working
    on my application.
    I have to double click the form to open it using the mouse.
    Then if we try to exit we have to press exit that many number of times as we have pressed enter key.
    So it seems to be storing the key processes.
    We are using forms 10g.
    Please help.
    Thanks and Regards,
    Rohan

    Fixed.
    Changed KB.
    However, this is still strange as the old KB was working fine in other applications.

  • Using of google map in oracle forms 10g

    Hello,
    We are on Oracle Forms 10g. We have a requirement of calling a Custom Map application (Like Google Maps) from Oracle Forms 10g.
    We want to show the Employee's Hose location in the form when city,street and state is entered.
    We are using the following PJC
    http://forms.pjc.bean.over-blog.com/article-26335020.html
    But when i run it i do not get anything in GMAP.
    I appreciate if I can get some help for the above requirements.
    Thank you.

    hello sir,
    I am running my form from the form Builder.
    I have copied my jar file into E:\DevsuiteHome_1\forms\Java Folder.
    Updated formsweb.cfg file as
    archive_jini= frmall.jar,frmwebutil.jar,jacob.jar,StaticGMap.jar
    and updated default.env Class path
    I got the following error: on java console
    Oracle JInitiator: Version 1.3.1.30
    Using JRE version 1.3.1.30-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    Proxy Configuration: Manual Configuration
    Proxy:
    Proxy Overrides:
    JAR cache enabled
    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://polish_dap-2:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/frmwebutil.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jacob.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/JCalendarJinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jcalendar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/AWTFileDialog.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/FileDropper.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/statusbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/lablediconbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/dynamicmenu.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/ComboMenuBar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/StaticGMap.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/personalize.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/progressbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/rolloverbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/getclientinfo.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • Forms 10g Function Key Buttons

    Hello,
    I want to create graphical Function key Buttons (F1-F8)(Mouse clickable) to the bottom of all my forms (~650!), like in a terminal. Buttons are the same for all forms.
    Anybody know how to do this? I already managed to assign the proper functions to the Function keys by the frmweb.res file (function Key mapping).
    I was thinking of using a (invisible) framed webpage (html), the top frame displaying the forms aplet, the bottom part displaying the buttons. How to send keykodes from these buttons?
    Regards
    Nils

    Find the file fmrweb.res in the DevSuiteHome_1\forms folder.
    Rename it to something like fmrweb_orig.res
    Copy the file fmrpcweb.res as fmrweb.res. The fmrpcweb file has settings to match the Windows 6i keys.
    By the way, you can edit the fmrweb file with a simple text editor to see how to change it.

Maybe you are looking for