KEY-HELP trigger generating in Form

Hi,
I am generating a form. It is creating a KEY-HELP trigger beneath each base table block. Does anyone know if there is a generator preference I can set which stops this happening?
Thanks,
Gavin

You can try to set End user interface preference-HLPTYP (Type of help system used)- to NONE.

Similar Messages

  • Key help trigger not displaying help file

    We're using designer 2.0.24.2.0 with headstart 5.0.2, I've created a number of help files for different modules, when you run one of the forms and press the help key, the help file is displayed. If you do it a second time, the help file is not displayed, if you use the ? off the toolbar the help file is displayed.
    I've had a quick look at the core library and there is a package body QMS$HELP which was modified on, with the comments :-
    05-10-1998 S. Davelaar chk_help_mode, invoke_context_help,
    context_help_invoked
    Added boolean to keep track of context help invocation. This to prevent, online
    help is invoked three times in a row: by item-level, block-level and form-level
    trigger (trigger execution style is BEFORE!!).
    I've checked the key-help triggers at Item, Block and Form level, they are all set execution style before and these triggers are firing each time the help key is pressed.
    Is this a known bug which has been fixed in a later release? Or does anyone know of a quick fix?

    This was identified as bug #850317 and was resolved in Headstart 5.0.3.2.

  • Compilation error while generating the form in linux

    Hello everyone,
    I am using Oracle Designer ver10.1.2.4 in windows to generate the forms with standard object library ofgwebol.olb and template form ofgwebt.fmb. form (with both .fmb and .fmx files) are generated without errors. Also when I open the forms in separately they compiles without errors. But when I copy the same .fmb file into linux enviroment and compile it using frmcmp.sh userid=user/password@database module_type=form compile_all=yes module=form_name it gives following errors.
    $> frmcmp.sh userid=odin/odin@ontw10g module_ty
    pe=form compile_all=yes module=LOGIN_SCHERM
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.4.0 Production
    FRM-18108: Failed to load the following objects.
    Source Module:ofgwebol.olb
    Source Object: CGSO$CHAR_DO
    Source Module:ofgwebol.olb
    Source Object: CGSO$CHAR_DO
    Source Module:ofgwebol.olb
    Source Object: CGSO$BLOCK
    Source Module:ofgwebol.olb
    Source Object: CGSO$CANVAS
    Source Module:ofgwebol.olb
    Source Object: CGSO$WINDOW
    Compiling function CGTE$CHECK_CONSTRAINT_VIO...
    No compilation errors.
    Compiling procedure CGTE$INLOGGEN_ERRORS...
    No compilation errors.
    L/SQL ERROR 0 at line 17, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 36, column 3
    identifier 'CGNV$.NAV_CLOSE_FORMS' must be declared
    PL/SQL ERROR 0 at line 36, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 37, column 3
    identifier 'CGNV$.NAV_OPENING_WND' must be declared
    PL/SQL ERROR 0 at line 37, column 3
    Statement ignored
    Compiling KEY-HELP trigger on form...
    No compilation errors.
    Compiling WHEN-WINDOW-ACTIVATED trigger on form...
    Compilation error on WHEN-WINDOW-ACTIVATED trigger on form:
    PL/SQL ERROR 201 at line 6, column 8
    identifier 'CGNV$GET_ITEM_WINDOW' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling POST-TEXT-ITEM trigger on form...
    Compilation error on POST-TEXT-ITEM trigger on form:
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$.STORE_WND_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling WHEN-WINDOW-CLOSED trigger on form...
    Compilation error on WHEN-WINDOW-CLOSED trigger on form:
    PL/SQL ERROR 201 at line 5, column 3
    identifier 'CGNV$.TERMINATE_WINDOW' must be declared
    PL/SQL ERROR 0 at line 5, column 3
    Statement ignored
    Compiling WHEN-FORM-NAVIGATE trigger on form...
    Compilation error on WHEN-FORM-NAVIGATE trigger on form:
    PL/SQL ERROR 201 at line 3, column 3
    identifier 'CGNV$.REMOVE_CHILD_FORM' must be declared
    PL/SQL ERROR 0 at line 3, column 3
    Statement ignored
    Compiling KEY-EXIT trigger on form...
    Compilation error on KEY-EXIT trigger on form:
    PL/SQL ERROR 201 at line 5, column 3
    identifier 'CGNV$.NAV_ENTER_QUERY' must be declared
    PL/SQL ERROR 0 at line 5, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 9, column 5
    identifier 'CGNV$.CLOSE_ALL_WINDOWS' must be declared
    PL/SQL ERROR 0 at line 9, column 5
    Statement ignored
    Compiling KEY-CLRFRM trigger on form...
    No compilation errors.
    Compiling ON-ERROR trigger on INLOGGEN data block...
    No compilation errors.
    Compiling KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block...
    Compilation error on KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$GO_PREV_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data block...
    Compilation error on KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data blo
    ck:
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$GO_NEXT_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compilation errors have occurred.
    Form not created
    I think some standard library are missing in Linux environment. But I do not know the name of them and neither I can find. Please suggest the what need to be done to resolve the problem. The reason I am compiling the form in Linux is that I can run the form in windows because of corrupted installation of OC4j.
    Thanking you all much in advance.
    Edited by: Deepank on Dec 2, 2008 1:49 AM

    Deepank-
    When generating forms from Designer, Designer attaches libraries - like ofgmes.pll, ofgnavl.pll, etc. You will need to copy these libraries to the same directory where your forms reside on your Linux box. To find out what libraries ate attached to your form, open it on your windows PC after generating it from Designer and you will see the attached libraries. Also, watch out for the case-sensitivity of Linux. If you have the Designer libraries on your linux box and you still get errors, try changing the case of the names of the libraries.
    Hope this helps,
    Dan

  • Call help file in a form

    Hi!
    I have a form where i have a button to call a help file. I've create my help file with RoboHelp and then generate it to Oracle Help. But now what i want to know is how can i call my help file? What's the function to call the file?
    Thank and sorry for my bad english :-)

    This is the easiest (IMHO) way to create help for your forms application:
    1. Deploy your generated help in OC4J container (OC4J_Help using application-root /ohw/ for example
    2. Write code like this in your KEY-HELP trigger
    url := '/ohw/help/?topic='||:SYSTEM.TRIGGER_FORM;
    WEB.SHOW_DOCUMENT(url, target);
    you can put this code into .pll of course

  • KEY-OTHERS trigger.

    i am using 9i Developer Suite. I have a doubt as to how to select a KEY-OTHERS trigger at the form level as i have seen in the code of some forms given to me designed by other people. It does not show while creating a trigger.
    I hope, my question is clear. Please help in solving the doubt.
    Regards.

    Hello,
    KEY-OTHERS is used to intercept all keyboard event triggers you don't want to have effect.
    generally, you put a single NULL; instruction in it.
    Francois

  • Key-F* Trigger

    I have created a key-F3 trigger at the form level to respond to the F3 key. The only way that the trigger is invoked is with the shift+ctrl+F3 key.
    Is there a way to make the trigger respond to just F3?
    Thanks.

    It depends on what Forms resource file you (and your users) are using.
    If you are in web forms, it is fmrusw.res, and you can edit the file using a text editor. If you are using client/server Forms 6i, you need Oracle Terminal to change the file.
    But changing the file is not a good idea, because it affects every user using Forms, and every form they use.
    If you are using the PC version of the resource file, then the original F3 was a Duplicate Field function. And if that is the case, you can just create a Key-Dup-Item trigger instead of a Key-F3 trigger in your form, and pressing F3 will run whatever code you put into that trigger.
    If you are using the Oracle Web Forms version, it appears there is no substitute, so you would need to change the fmrweb.res file.

  • Key-Others Trigger (Please help!!!)

    Hi everybody,
    We are trying to restrict the end user from pressing some
    'dangerous' keys, i.e clear block, execute query, even the DOWN
    key causes us problems in some (1 record) blocks.
    I know there is a way to do it using Oracle terminal but it
    seems that we need greater degree of flexibility.
    I certainly don't want to go to every <KEY> trigger on every
    form (block) and put null; statements there. I know from Oracle
    Docs that I'm supposed to use the key-others trigger..
    So here are my questions:
    1.Is there any way to find out which key has been pressed?
    2.Can someone post a sample code of a KEY-OTHERS triggers?
    3.Is there another way to achieve what we need?
    Thanks is advance for any help.
    Mike
    null

    You have two options.
    1) Turn off all keys not wanted. This is what you said
    you did not want to do.
    2) Tun on all keys you want to use by creating a trigger for
    each key. i.e.
    trigger KEY-NXTREC trigger KEY-UP
    NEXT_RECORD; UP;
    Then turn off all keys not explicitly turned on.
    trigger KEY-OTHERS
    NULL;
    ET (guest) wrote:
    : Hope that it may be helpful.
    : Answer :
    : 1. In command line, add debug option so that you may know what
    : trigger is executing.
    : e.g. runform module= userid= debug=yes
    : 2. Sample code for Key-others trigger
    : null;
    : Rgds,
    : ET
    : Mike Braude (guest) wrote:
    : : Hi everybody,
    : : We are trying to restrict the end user from pressing some
    : : 'dangerous' keys, i.e clear block, execute query, even the
    : DOWN
    : : key causes us problems in some (1 record) blocks.
    : : I know there is a way to do it using Oracle terminal but it
    : : seems that we need greater degree of flexibility.
    : : I certainly don't want to go to every <KEY> trigger on every
    : : form (block) and put null; statements there. I know from
    : Oracle
    : : Docs that I'm supposed to use the key-others trigger..
    : : So here are my questions:
    : : 1.Is there any way to find out which key has been pressed?
    : : 2.Can someone post a sample code of a KEY-OTHERS triggers?
    : : 3.Is there another way to achieve what we need?
    : : Thanks is advance for any help.
    : : Mike
    null

  • Need help with generating keys from xml

    Hello,
    I am just learning about JCE and am haveing some problems with implementing a basic program.
    I have the following information:
    <RSAKeyValue>
    <Modulus>Base64EncodedString</Modulus>
    <Exponent>Base64EncodedString</Exponent>
    <P>Base64EncodedString</P>
    <Q>Base64EncodedString</Q>
    <DP>Base64EncodedString</DP>
    <DQ>Base64EncodedString</DQ>
    <InverseQ>Base64EncodedString</InverseQ>
    <D>Base64EncodedString</D>
    </RSAKeyValue>
    From which I need to construct a public and private key. I am using RSA algorithm for the encrypting and decrypting. I am using the org.bouncycastle.jce.provider.BouncyCastleProvider provider. Any help would be greatly appreciated.
    My questions are:
    1) Is it possible to create the public and private key from this data?
    2) How can I construct a public and private key from this data.
    Thank you in advance.
    Sunit.

    Thanks for your help...I am still having problems.
    I am now creating the public and private keys. I am generating the public exp, modulus, private exp, and the encrypted text from another source.
    so my questions are:
    1) How do I verfiy that the private and public keys that I generate are valid?
    2) How do I get the decrypted text back in a readable form?
    3) the decrypted text should read "ADAM"
    Here is a test I wrote:
    _________________STARTCODE_____________________
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.math.BigInteger;
    import org.bouncycastle.jce.provider.BouncyCastleProvider;
    public class CryptTester
         protected Cipher encryptCipher = null;
         protected Cipher decryptCipher = null;
         private KeyFactory keyFactory = null;
         protected PublicKey publicKey = null;
         protected PrivateKey privateKey = null;
         private RSAPublicKeySpec publicKeySpec = null;
         private RSAPrivateKeySpec privateKeySpec = null;
         public CryptTester()
              /* Create Cipher for asymmetric encryption (
              * e.g., RSA),
              try
                   encryptCipher = Cipher.getInstance("RSA", "BC");
                   System.out.println("Successfully got encrypt Cipher" );
                   decryptCipher = Cipher.getInstance("RSA", "BC");
                   System.out.println("Successfully got decrypt Cipher" );
                   keyFactory = KeyFactory.getInstance("RSA" , "BC");
                   System.out.println("Successfully got keyFactory" );
              }catch ( NoSuchAlgorithmException nsae)
                   System.out.println("Exception1: " + nsae.toString() );
              catch ( NoSuchPaddingException nspe)
                   System.out.println("Exception2: " + nspe.toString() );
              catch ( java.security.NoSuchProviderException nspe)
                   System.out.println("Exceptiont6: " + nspe.toString() );
              /* Get the private and public keys specs
              BigInteger publicMod = new BigInteger ("86e0ff4b9e95bc6dcbfd6673b33971d4f728218496adcad92021923a9be815ddb7ecf17c06f437634c62fa999a293da90d964172a21d8ce74bd33938994fbd93377f7d83ce93d523782639c75221a3c91b53927a081b2b089a61770c6d112d78d5da8a6abc452d39a276787892080d6cf17dd09537c1ec5551d89567345068ef", 16);
              BigInteger publicExp = new BigInteger ("5");
              BigInteger privateExp = new BigInteger ("50ed65fa2bf3710ead980a456b88dde62de4e0e9", 16);
              publicKeySpec = new java.security.spec.RSAPublicKeySpec( publicMod, publicExp );
              privateKeySpec = new java.security.spec.RSAPrivateKeySpec( publicMod, privateExp);
              try
                   privateKey = keyFactory.generatePrivate(privateKeySpec);
                   publicKey = keyFactory.generatePublic(publicKeySpec);
              }catch ( InvalidKeySpecException ivse)
                   System.out.println("Exception3: " + ivse.toString() );
              try
              * initialize it for encryption with
              * recipient's public key
                   encryptCipher.init(Cipher.ENCRYPT_MODE, publicKey );
                   decryptCipher.init(Cipher.DECRYPT_MODE, privateKey );
         }catch ( InvalidKeyException ivse)
                   System.out.println("Exception4: " + ivse.toString() );
         public String getPublicKey()
              //return new String(publicKey.getEncoded());
              return publicKey.toString();
         public String getPrivateKey()
         //          return new String(privateKey.getEncoded());
              return privateKey.toString();
         public String encryptIt(String toencrypt)
              * Encrypt the message
              try
                   byte [] result = null;
                   try
                        result = encryptCipher.doFinal(toencrypt.getBytes());
                   catch ( IllegalStateException ise )
                        System.out.println("Exception5: " + ise.toString() );
                   return new String(result);
              }catch (Exception e)
                   e.printStackTrace();
              return "did not work";
         public String decryptIt(String todecrypt)
                        * decrypt the message
              try
                   byte [] result = null;
                   try
                        result = decryptCipher.doFinal(todecrypt.getBytes());
                   catch ( IllegalStateException ise )
                        System.out.println("Exception6: " + ise.toString() );
                   return new String(result);
              }catch (Exception e )
                   e.printStackTrace() ;
              return "did not work";
         public static void main(String[] args)
              try
              Security.addProvider(new BouncyCastleProvider());
              CryptTester tester = new CryptTester();
              String encrypted = "307203c3f5827266f5e11af2958271c4";
              System.out.println("Decoding string " + encrypted + "returns : " + tester.decryptIt(encoded) );
              } catch (Exception e)
                   e.printStackTrace();
    _________________ENDPROGRAM_____________________

  • Use of KEY-OTHERS trigger

    Hi,
    I have a form that has numerous triggers defined at the form level. The form has a block that appears in a dialog window. The block should only have a small subset of triggers that are defined at the form level. I went ahead and created the key triggers necessary at the block level; I also defined a key-others trigger defined as null on the block to disable all other key triggers defined at the form level???. However it's not working, key triggers at the form level are still firing. Is the key-others trigger suppose to suppress triggers at a lower level or do I have to specifically deactivate all the key triggers at the block level?
    Thanks for you help in advance

    Key-Others at the block level will only override a form-level Key-Others. It will not override any other form-level triggers.
    You must either override all the form-level triggers at the block level, or add code to the beginning of each form-level trigger such as:
    If :System.trigger_block = 'MY_SPECIAL_BLOCK' then
      Return;  -- exit if in the special block
    End if;

  • Urgent - Need help on Coding in Forms

    I created a Master/Detail form. I now wish to create a field to display the sum total of a Detail field.
    I wrote a loop in a Program Unit which has the count upto last_record (Restricted Built-in) but cannot use this call from a Post Query due to Forms' limitation of not using a Restricted Built-in/Procedure in a Pre/Post trigger.
    I also cannot use the call to the Program Unit in a Key-ExeQry trigger as Oracle Apps. has the Ctrl+F11 key for Execute Query. Since the form is built for query purpose for now, I wish to display the totals upon Execute Query.
    Where can I make the call for this Program Unit or what code do I need to write and where in order to display the total upon Execute Query.
    Any help would be greatly appreciated.

    hi,
    sorry to hurt you. Sometimes you can solve a problem in forms without writing any code
    create a field with number datatype
    in the property pallette
    calculation mode = summary
    summary function = sum
    summarized field = <name of the field of which you want a sum>
    Set the block level property
    Query all records = yes
    now ctrl + r
    F8
    HTH
    vinayak
    (if you want the test form that i created for you you can mail me)
    null

  • Can PowerShell allow the key F9 to generate a set of characters anytime it is pressed ?

    can a PowerShell scriot be installed that allows the key F9 to generate a set of characters anytime it is pressed ?

    Hi Larry,
    Do you mean it will display a set of characters in powershell form when the key F9 is pressed?
    To create shorcut keys in powershell, and execute pre-existing operation when press the shortcut key, this module may be helpful for you:
    http://pseventing.codeplex.com/releases/view/66587
    And the samples below is for your reference:
    import-module pseventingplus
    # kill all jobs
    register-hotkeyevent "ctrl+shift+j" -action { get-job | stop-job -verbose }
    Refer to:
    Use CTRL + D to exit and CTRL + L to cls in Powershell console
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please
    click here.
    Best Regards,
    Anna Wang
    TechNet Community Support

  • Function key to execute key-f5 trigger

    Dear all,
    I have migrated a forms 6i to 10gR1 and I would like to call existing KEY-F5 trigger by pressing a function key (F5) on the keyboard.
    How to do that?
    I have tried several things with the file fmrweb.res but without any success yet.
    Anyone to help me?
    Thanks and best regards,
    Sebastien

    I found the solution by using key accelerator
    Thanks and best regards,
    Sebastien

  • Help needed from Oracle form 6i developer and oracle applications 11i

    I am looking for an Oracle Technical ebusiness suite SCM freelancer with solid experience and strong knowledge of oracle forms 6i.
    Role will be to develop a new simple form and integrating this developed custom form with oracle standard form in Oracle applications 11i
    More details will be provided later on and ready to negotiate the price for this project..............
    It should not take more than 10 days to complete this project. Interested candidate should let me know asap.
    Edited by: user8725114 on Aug 17, 2009 8:18 PM

    Hi,
    Try the built-in procedure WEB.SHOW_DOCUMENT. See some examples in the on-line help of Forms.
    You can call this built-in procedure in a Form level trigger , called 'KEY-HELP' (when the user presses the <Ctrl>+<H> buttons) , or if you have a button on the form use the trigger 'WHEN-BUTTON-PRESSED'.
    Hope the above will help you...
    Simon

  • Question: How does the "KEY-COMMIT" trigger work?

    Hello All,
    What is the “KEY-COMMIT” Trigger for the BLK_UPDATE data block for? When is the Trigger being activated? Where can I find the information regarding the "KEY-COMMIT" Trigger (FYI, I have looked at the ORACLE Form online document and the help in the Forms 6i Builder, but so far I found nothing)?
    Any information regarding to the "KEY-COMMIT" Trigger would be greatly appreciated!
    Thanks in advance,
    Jinlan
    --

    From my other post, I got the following information from Andreas Weiden and just want to share with you all here:
    "If you want the code inside your KEY-COMMIT-trigger executed, you will have to do a DO_KEY('COMMIT_FORM'); instead"
    This information really clarifies the def and use of the "KEY-COMMIT" trigger. Great thanks to Andreas for sharing.

  • Transportation lane KEY not getting generated in the table

    Transportation lane KEY not getting generated in the table
    Hi folks,
    The issue is like this :
    We have a weekly workorders upload program from legacy systems to SAP-APO. The legacy planners send a .CSV file containing material-wise workroders. A customised zee program picks these quantities & writes them in Prod.planned keyfigures in SNP planning book. This process is done for the manufacturing locations only.
    Lately workorders for two particular material M1 & M2 had failed to get upload. It gives the error 'NO VALID SOURCE OF SUPPLY COULD BE FOUND' in its Job log. We did some debugging & found that for successful materials the  TRPID is getting generated in the table /SAPAPO/V_TRPROD  whereas this TRPID is missing for M1 & M2. Why this is happening is our main concern. We tried deleting the PPM & creating this again, assuming that the PPMID is the precursor for generating this TRPID, but this yielded no results.
    ____ for successful upload______________
    se16 --> /SAPAPO/V_TRPROD
    Version = 000
    LOCTO = LOCID KEY for manufacturing location
    MATID = MATID KEY of successfully loaded workorder
    Enter
    This gives the following results
    TRPID = TRPID KEY
    LOCFR = LOCID KEY for manufacturing location
    LOCTO = LOCID KEY for manufacturing location
    MATID = MATID KEY for successfully loaded workorder
    ( This seems a self-lane, i.e both TO & FROM location are same)
    ____ for unsuccessful upload________
    se16 --> /SAPAPO/V_TRPROD
    Version = 000
    LOCTO = LOCID KEY for manufacturing location
    MATID = MATID KEY for unsuccessfully loaded workorder
    Enter
    This gives the following results
    Error = No Table entries found for specified KEYS
    We are perplexed why this TRPID is not getting generated for these two particular material M1 & M2?
    We have deleted their PPM & re-created them to cross-check if the PPMID KEY is the trigger for generating the TRPID key. This didn't work!
    Please let us know in case someone faced a similar issue.
    Many Thanks.
    Kumar
    Edited by: Blue Lotus on Jun 9, 2011 2:44 PM

    Yes Anand.
    We deleted the PPM & created it again, which didn't work.
    Later on we deleted the product itself from APO & re-CIFed it from R3 & then re-created the PPM.
    The PPMID which was missing earlier is now getting created! However no luck with the TRPID.
    Why this TRPID is not getting generated in our only concern
    Regards
    Kumar

Maybe you are looking for