Key-enter trigger not firing

hi friends,
i have a trigger on key enter, but it is not firing when i press the enter key,
why it is not working. i want the trigger to be fired only if the user press Enter key
thanks
Kris

Hi Kris,
I would suggest you try searching this forum for "KEY-ENTER". You shall be able to find out why it does not fire
regards,
teo

Similar Messages

  • How to make 'Key-Enter' trigger (when clicked on enter key)work like 'F8' key?

    Hi . I have another question to be asked.
    Oracle Forms 6i.
    I have a form in which DEFAULT&SMARTBAR is the menu and there are no push buttons.
    In the form, there is a 'field' named as 'ID No'. After entering 'ID No' in the field and click on 'Execute Query' button from the 'DEFAULT&SMARTBAR' menu, all the details of that respective 'ID No' gets displayed in all the other fields. Even if i press 'F8' all the fields gets displayed with the values.
    But i have a requirement, i.e. after entering 'ID No' and click 'Enter' key , i want all the values to be displayed.
    So i created a 'Key-Enter' trigger with the following code:
    BEGIN
      EXECUTE_QUERY;
    END;
    But after entering 'ID No' and click 'Enter' key, the values are not getting displayed.
    What can i do to make this happen?
    Thank You.

    It depends how your form is created. If your ID item is part of the base table block, you can do this.
    On your ID item, create a KEY-NEXT-ITEM trigger:
    if :system.mode = 'ENTER-QUERY' then
        execute_query;
    else
        next_item;
    end if;
    Now
    - User clicks on enter query (via smart bar icon or F7).
    - User enters ID and clicks <enter> key to execute the query.

  • Return Key doesn4t make my defined KEY-ENTER trigger to fire.

    I4ve found that the trigger that fires when I press Return is KEY-NEXT-ITEM,but this doesn4t resolve my problem,because the tab key also fires this trigger.
    I want to navigate within textitems with the tab key and that when I press return key make an action on the values entered in the items.
    mila, PJR

    You have to perform key mapping to get the Key-Enter trigger to work.
    Open your forms90\fmrweb.res file in a text editor. Find the line:
    10 : 0 : "Return" : 27 : "Return"
    Change it to:
    10 : 0 : "Return" : 75 : "Return"
    Save the file and run the form again. The key-enter trigger should then fire when you press the Return key, but not when you press the Tab key.

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION(R12 UPGRAD

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • The product key entered does not match any of the Windows images available for installation. Enter a different product key.

    how do you manage to install windows 7 when the message on the screen is "The product key entered does not match any of the Windows images available for installation. Enter a different product key. "

    That's a really helpful answer and not smug at all, thanks Carey.
    I just downloaded a DVD image from my university's MSDN Academic Alliance program, named "Microsoft
    Windows 7 with Service Pack 1 Debug/Checked Build 64-bit (English)", which I wanted to use to install over an existing 32-bit version. I thought the install screen was giving this weird unskippable error described in the OP before I even entered
    a key because the 32-bit key I had used on the HDD was somehow interpreted to be used in an upgrade, but no. Even after I wiped the hard drive, this error persisted.
    Guess I'll go Google some more on how to install my legit copy of Windows, because this self-serving shit sure isn't helping.
    edit: IF YOU GOOGLED THIS AND ARE STILL LOOKING FOR YOUR ANSWER, CHECK HERE:
    http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_install/the-product-key-entered-does-not-match-any-of-the/47e6f575-5792-404b-9b7f-2065bdb91011

  • After Trigger Not Fired

    Hi All,
    I had created a Before and After Trigger for each row on a table.
    The Before Trigger will be fired when some columns are updated.
    In the Before trigger, I will changed the value of 1 column, says delvstatus.
    The After trigger will be fired if the delvstatus was changed.
    However, I noticed that after trigger is not fired if the delvstatus is changed within Before Trigger.
    Is this a normal case for trigger execution in oracle?
    Any comments are welcome.
    Thanks.

    The before trigger and the after trigger should be fired like in the following test case.
    If not please post your test case and your 4 digits Oracle version.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL>
    SQL> drop table t purge;
    Table dropped.
    SQL> drop table log purge;
    Table dropped.
    SQL>
    SQL> create table log(txt varchar2(50));
    Table created.
    SQL>
    SQL> create table t (x int primary key, s1 int, s2 int);
    Table created.
    SQL>
    SQL> create trigger tbu
      2  before update of s1
      3  on t
      4  for each row
      5  begin
      6  :new.s1 := 1;
      7  insert into log values('tbu fired');
      8  end;
      9  /
    Trigger created.
    SQL> show errors
    No errors.
    SQL>
    SQL> create trigger tau
      2  after update of s1
      3  on t
      4  for each row
      5  begin
      6  insert into log values('tau fired');
      7  end;
      8  /
    Trigger created.
    SQL> show errors
    No errors.
    SQL>
    SQL> insert into t values(0,0,0);
    1 row created.
    SQL> update t set s1 = 2 where x = 0;
    1 row updated.
    SQL> select * from t ;
             X         S1         S2
             0          1          0
    SQL> select * from log;
    TXT
    tbu fired
    tau fired
    SQL>

  • I had windows 8.1 but want to go back to windows 8 with clean install"the product key entered does not match any of the windows image available"

    I had windows 8.1 and wanted to revert to windows 8 so i by mistake formatted the c:/ drive containing os and now when i try to install windows 8 i get the error "The product key entered..."
    And i dont even have recovery image in my pc. I am using a dell laptop and i have windows 8 dvd given by dell which reads" windows 8 recovery media for windows product"
    Please guide me asap.

    OEM keys are embedded on hardware, you might not need to enter the key in your case. I would suggest you to call Dell support here. 
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Trigger not firing in linux OS

    Hi All:
    Initially i am developed a form using form builder and i deployed this form in Windows OS this is working fine when i am deploying this same form in Linux OS
    that is not working even small trigger also not firing.so here we need to change any initial set up any help please.

    We are developing and deploying our Forms application on Linux, have no problem with the triggers whatsoever - any specific reason why developing on windows when deploying from Linux? otherwise, you have to recompile every time you move the form to the Linux iAS box for deployment (as Tony mentioned).

  • SPECIAL1 user defined Trigger not firing in Forms

    Hi All forms Gurus,
    I have a need of creating a menu under tools in forms and call another from from this new menu option.
    I have done the below:
    on my block I have written a PRE-BLOCK Trigger with the below code:
    app_special.instantiate('SPECIAL1', 'Product Details');
    app_special.ENABLE('SPECIAL1',PROPERTY_ON);
    this is creating the menu option successfully on the forms at run time under TOOLS menu.
    Next I have :
    FND_FUNCTION.EXECUTE(FUNCTION_NAME => 'XXTEST'
    ,OTHER_PARAMS => ' P_PROD_CODE = ' || ''''|| :HOLDS_BLK.PROD_CODE
    and this is not getting executed when I click on the "Product Details" new menu entry which is create above.
    I even tried just putting
    fnd_message.debug('from SPECIAL1'); to check if the SPECIAL1 Trigger is firing, removing the above FND_FUNTION.EXECUTE.
    and I noticed that the SPECIAL! Trigger is not firing at all.
    I would really appreciate if you can help me out in fixing this and making the SPECIAL1 trigger fire.
    Thanks and Regards
    Rohit

    Hi Rohit,
    Welcome to OTN.
    Since this is Apps issue, you might want to post it in the [E-Business Suites forum|http://forums.oracle.com/forums/category.jspa?categoryID=3].
    -Arun

  • SPECIAL1 user defined trigger not firing

    Hi All forms Gurus,
    I have a need of creating a menu under tools in forms and call another from from this new menu option.
    I have done the below:
    on my block I have written a PRE-BLOCK Trigger with the below code:
    app_special.instantiate('SPECIAL1', 'Product Details');
    app_special.ENABLE('SPECIAL1',PROPERTY_ON);
    this is creating the menu option successfully on the forms at run time under TOOLS menu.
    Next I have :
    FND_FUNCTION.EXECUTE(FUNCTION_NAME => 'XXTEST'
    ,OTHER_PARAMS => ' P_PROD_CODE = ' || ''''|| :HOLDS_BLK.PROD_CODE
    and this is not getting executed when I click on the "Product Details" new menu entry which is create above.
    I even tried just putting
    fnd_message.debug('from SPECIAL1'); to check if the SPECIAL1 Trigger is firing, removing the above FND_FUNTION.EXECUTE.
    and I noticed that the SPECIAL! Trigger is not firing at all.
    I would really appreciate if you can help me out in fixing this and making the SPECIAL1 trigger fire.
    Thanks and Regards
    Rohit and Zahir

    Hi Rohit,
    Welcome to OTN.
    Since this is Apps issue, you might want to post it in the [E-Business Suites forum|http://forums.oracle.com/forums/category.jspa?categoryID=3].
    -Arun

  • Why is this table trigger not firing when insert/update from servlet?

    Hi!
    I have this servlet that parses XML and stores values into Oracle tables. I have created a table trigger so that when one table is updated, a trigger is fired and the current system date is store in another table's field.
    I have tested the trigger in Toad and it works, that is, if I update the table that the trigger is set to, the SYSDATE is stored as intended.
    Here is the trigger's code:
    DECLARE
    tmpVar NUMBER;
    NAME: transaction_time
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/14/2007 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: transaction_time
    Sysdate: 9/14/2007
    Date and Time: 9/14/2007, 8:00:42 AM, and 9/14/2007 8:00:42 AM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: MS_RESLIMITS (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    tmpVar := 0;
    UPDATE MS_Misc SET mi_lastrun = SYSDATE;
    EXCEPTION
    WHEN OTHERS THEN
    -- Consider logging the error and then re-raise
    RAISE;
    END transaction_time;
    Now, when the table is updated by the servlet, the trigger does not fire. And here is the code from the servlet:
    --- <start of code> ---
    boolean recordExists =
    this.isRecordPresent("MS_ResLimits", "rl_compcode",
    compCode, url);
    Connection rlConn = null;
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    rlConn = DriverManager.getConnection(url, dbUser,
    dbPwd);
    Statement stmt = rlConn.createStatement();
    PreparedStatement xmlUpdate = null;
    if (recordExists) {
    xmlUpdate =
    rlConn.prepareStatement("UPDATE MS_ResLimits SET rl_compcode = ?, rl_maxreslimit= ? WHERE rl_compcode =?");
    xmlUpdate.setString(1, compCode);
    xmlUpdate.setString(2, maximumReservationDate);
    xmlUpdate.setString(3, compCode);
    } else {
    xmlUpdate =
    rlConn.prepareStatement("INSERT INTO MS_ResLimits VALUES(?,?)");
    xmlUpdate.setString(1, compCode);
    xmlUpdate.setString(2, maximumReservationDate);
    } //end-if-else
    int n = xmlUpdate.executeUpdate();
    rlConn.commit();
    } catch (Exception ex) {
    out.println(ex.toString() +
    "-> error inserting Max Reservation Date<br>");
    } finally {
    if (rlConn != null) {
    rlConn.close();
    } //end-try-catch-finally
    --- <end of code> ---
    What causes the trigger to fire? the commit? My understanding is that executeUpdates are in autocommit mode by default, or am I mistaken? Do I have to programmatically send something to the DB so that the trigger fires?
    BTW, I'm using JDeveloper 10.1.3.3.0. The project is being compiled with Java 1.5.0_06. The servlet is running in OCJ4 standalone. DB is 10g (don't know the release version).
    ...and, for some reason this message is not keeping format from my edit window to the post...
    Thx!
    Message was edited by:
    delphosbean
    Message was edited by:
    delphosbean
    Message was edited by:
    delphosbean

    You are supposed to be able to preserve you formatting using the <pre></pre> tags but I can't get this to work either<br>
    <br>
    Patrick.

  • 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.

  • Key-enter trigger

    dear all
    i want when user press enter key then exit from the form and if
    press tab then do some other operation
    wiating for quick reply

    dear you
    I had to do that before. What I did was use the KEY-NEXT-ITEM
    for whatever you want to do with the tab key and put a push-
    button EXIT and on this button change its property "Default
    Button" to Yes. This property makes that the code you put on
    WHEN-BUTTON-PRESSED trigger of this button will fire when you
    press enter. For the same block it can only be one button with
    this property to yes.
    I hope this helps

  • Key events are not fired for  SwingTextField

    No event is fired when a key is typed/pressed. Am I missing something here?
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.ext.swing.SwingTextField;
    import javafx.scene.input.KeyEvent;
    Stage {
    title: "MyApp"
    scene: Scene {
    width: 200
    height: 200
    content: [
    SwingTextField {
    columns: 20
    text: " "
    editable: true
    onKeyPressed: function( e: KeyEvent ):Void {
    println("on key pressed");
    onKeyTyped: function( e: KeyEvent ):Void {
    println("on key pressed");
    onKeyReleased: function( e: KeyEvent ):Void {
    println("on key released");
    }

    ya it wont work. just try this one,
    use the keyListener function for all key listener.
    * FxTextField.fx
    * Created on Jan 21, 2009, 9:29:49 AM
    package com.sb.javafx.comp;
    import javafx.ext.swing.SwingComponent;
    import javax.swing.JTextField;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyEvent;
    import javax.swing.JComponent;
    * @author Admin
    public class FxTextField extends SwingComponent{
        var textField:JTextField;
        public var text:String on replace{
            textField.setText(text);
        public var keyListener:function(key:KeyEvent);
        init{
            textField.addKeyListener(KeyListener{
                 public override function keyPressed(e:KeyEvent)
                    text = textField.getText();
                    keyListener(e);
                 public override function keyTyped(e:KeyEvent)
                    text = textField.getText();
                    keyListener(e);
                 public override function keyReleased(e:KeyEvent)
                    text = textField.getText();
                    keyListener(e);
        public override function createJComponent():JComponent
            textField = new JTextField();
            return textField;
    }

Maybe you are looking for

  • Apple ID Switch-up Options?

    My wife & I have 2 seperate Apple ID's. I know we aren't able to combine those ID's, but is there any way of getting around it when it comes down to it? We have 2 computers & 3 devices between us.  We share the Music Library through home sharing (it'

  • How to send a text message from any computer?

    Is there a way to send a text message to my iphone from a computer that is connected to the Internet? If so, what web site is needed to do this?

  • Apple Distinguished Educators' Program

    I am trying to apply, but Chile is not one of the countries, Only N. America, Asia-Pacific and Europe and UAE. How can I apply?  I work at an American Interntional School here (Nido de Aguilas)

  • Reg. parameterizing VO query

    Hi all, We are trying to fix some dynamic VOs in our product where bind parameters have not been used. Below are two cases where we need to parameterize VO queries that do not have where clause or have sub-queries. In these cases, would setWhereClaus

  • Workflow task stays in 'In process' status. - Urgent Please

    Hi Workflow Gurus / Ramki, My workflow task ( which is a background task) remains in <b><u>'In process'</u></b> status. If I test this task using SWUS, it works fine but doesn't work when workflow is triggered. Any clue ? Please help. It is bit urgen