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.

Similar Messages

  • How To Make Shapes Change Colors When Clicking on them. Example Sheet Sales Data.xlsx template with Excel 2013

    My question is related to the Sales Data.xlsx template that comes with Excel 2013
    IN this workbook is a sheet named Sales Data. It has, 3 shapes. One each for each of the tab sheets in the workbook. When I click on the 'Sales Report' shape it selects the sales report tab. When you do this the shape changes color and the 'Sales Data' shape
    also changes color.
    However I'm unable to figure out how the colors are changing. 
    I don't see any macros in the workbook/worksheet. Nor do I see any code for worksheet events. I don't see any modules in VBA either. I think what is happening is that there are 2 shapes. When you click on one, the one shape goes to the background and the
    other one comes to the foreground.
    I'm no sure how it's doing that. 
    Can someone look at this template, Sales Data.xlsx that comes with Excel and explain how this functionality works?
    Thank You
    Keith Aul
    Keith Aul

    The shapes are exactly as I suspected, each of 3 sheets has 3 'navigation' shapes. The shape with the same name as the sheet has no hyperlink and is coloured differently to indicate it refers to the active sheet. The other two have hyperlinks linked to respective
    sheets. 3x3 shapes, 9 in total, none of them ever change colour!
    It's logical though not necessary to name each shape same as the sheet it links to, but they'd work just as well with their original default names.
    For aesthetics, the shapes that refer to own sheet have a horizontal line on top, actually two shapes as a group.
    If still confused copy each set of 3 shapes to a 4th sheet, or open two new windows so you can see all three sheets at the same time.

  • Is it have some User exits for Vendor master  trigger when click some field

    Dear Experts,
         I would like to know Is it have User exit for Vendor master  trigger when click some field in Vendor master? not just User exit for Prior Save . Please kindly let me know some solution for this case.
         Many thank.

    Hi,
    check may this bapi will be useful your requirements, BAPI_VENDOR_CREATE
    below links may helpful for you:
    BADI http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm http://support.sas.com/rnd/papers/sugi30/SAP.ppt http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm http://members.aol.com/_ht_a/skarkada/sap/ http://www.ct-software.com/reportpool_frame.htm http://www.saphelp.com/SAP_Technical.htm http://www.kabai.com/abaps/q.htm http://www.guidancetech.com/people/holland/sap/abap/ http://www.planetsap.com/download_abap_programs.htm http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm USER EXIT http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm http://www.sapgenie.com/abap/code/abap26.htm http://www.sap-img.com/abap/what-is-user-exits.htm http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction http://www.easymarketplace.de/userexit.php http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm http://www.sappoint.com/abap/userexit.pdfUser-Exit http://www.sap-img.com/ab038.htm http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm http://www.sap-img.com/abap/what-is-user-exits.htm http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html Rewards if useful......... Minal
    still if you not find any solution go for  custom exit, means in standard program only ABAP consultant change the program where you required, it is little risk, you have to do the more testing for this
    BR:
    Venkat.Gurram

  • In windows 7, how to make firefox start automatically when I turn on the computer

    In Windows 7, how to make Firefox start automatically when I turn on the computer. Note, I am asking how to do this with Windows 7, not xp, not vista.

    You need to place a shortcut to open Firefox in the Start > Programs > Startup folder.<br />
    That is basically the same in all Windows versions.

  • HT201401 i have a birthday showing in my calendar listed as an all day event and it is incorrect how can I delete it. When clicked on does not bring up the edit feature. The vodaphone shop thinks it has synced with my facebook app.

    i have a birthday showing in my calendar listed as an all day event and it is incorrect how can I delete it. When clicked on does not bring up the edit feature. The vodaphone shop thinks it has synced with my facebook app.

    hello, the addons manager is exactly the right place to look for it. please try disabling the addons that are listed there one-by-one (a restart of the browser might be necessary after each step). maybe one of them is bundling this kind of adware.
    [[Disable or remove Add-ons]]

  • How to make VM to suspend when it not use , VDI3.0 with SGD 4.5

    Hi All,
    We are using SunVDI3.0 with VBox 2.0.10 and connecting via SGD 4.5.
    i konw that we can do suspending vm on vmware esx, however i couldn't find it in VirtualBox provider.
    how to make VM to suspend when vm is not using for some period time.
    thanks in advance
    -kevin-
    Edited by: kevin on Sep 27, 2009 5:44 PM

    Hi All,
    We are using SunVDI3.0 with VBox 2.0.10 and connecting via SGD 4.5.
    i konw that we can do suspending vm on vmware esx, however i couldn't find it in VirtualBox provider.
    how to make VM to suspend when vm is not using for some period time.
    thanks in advance
    -kevin-
    Edited by: kevin on Sep 27, 2009 5:44 PM

  • How to Customize the Error Message when a user enters a wrong password

    Hi Gurus
    Pls Help out me that
    How to Customize the Error Message when a user enters a  wrong password ?
    I need the Help to Customize the messege ?
    How  we can do
    Pls Tell me indetail

    Firstly many appologies I have given you slightly duff information here, I had been editing the file above for email notification texts not logon / password texts.
    The file you need is actually a portal .par file and can be found in the deployment/pcd directory.  The file you need is called com.sap.portal.runtime.logon.par (with a .bak extension at this time). 
    You need to copy this file to a local machine and unzip the contents.  The files you need to edit are contained in a further jar file which can be found in the \PORTAL-INF\lib directory - it is called umelogonbase.jar.  It too needs to be extracted and the file you need to edit is logonMessages_xx.properties (where the xx is the language code you are using).
    In this file you will find lines like:
    NUMERIC_REQUIRED=Invalid new password (must contain digits)
    You need to identify which texts you wish to modify and edit the text to the right of the equals sign.  Once complete rezip the umelogonbase.jar file and then the com.sap.portal.runtime.logon.par (this time name it without the .bak extension.  Then logon to the portal and upload the new par and you should see your new logon messages.
    Haydn

  • Trigger when click manu

    Hi all,
    Could u please show examples bout
    trigger when click manu from forms
    thanks
    useruser

    Oh no , i think it's not possible in Oracle to do this..Not in Menu..
    Instead, u can do some work around:
    1. Create a Trigger when-New-form-instance.
    2. Create a Global variable intialize it's value Boolean True or False.
    3. In the Pre-Form Trigger check
    either
    1.select field1
    into variable
    where whatever ;
    2. IF Field1 is not null then excute_query
    else
    exit_form;
    ==========================
    Or
    ===========================
    1.excute_query in W-N-F-I Trigger
    IF :Field1 is Null then
    Global.form :='False';
    exit_form;
    else
    Global.form :='True';
    do whatever..
    excute_query;
    Hope it helps
    Regards,
    Abdetu..

  • How to make a PDF form with expanding tabel or expanding fields, like in Word.

    How to make a PDF form with expanding tabel or expanding fields, like in Word.

    This is currently not possible in Formscentral. It is something we are working on for the future. Please stay tuned.
    Andrew Yarborough

  • When clicking a link I would like it to always open in a new tab.

    When clicking a link I would like it to always open in a new tab.

    In windows right click and you will get an option to open in a new Tab

  • I'm stuck in iPhone Developer Program set up that i never started, how do I get my iPod to skip this and just work like normal?

    I'm stuck in iPhone Developer Program set up that i never started, how do I get my iPod to skip this and just work like normal?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    If recovery mode does not work try DFU mode.                         
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • How to make the page expired when user click back

    how to make the page as expired when i click back button on the browser.
    i want a better way.
    actually i have a timer.when it reaches 00.00 then the expired page will be called automaticlly using location.href="expired.jsp" then if the user clicks back it should not show the previous page.this concept is applied with paging concept
    response.setheader is not working ...
    i have redirect when click back using
    <body onunload>....i call another page here.
    but it is not a good way.
    so pls help me to solve this problem
    using session or another good way

    Use this instead.
    Frame.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);

  • How to make buttons enabled after the data is entered in JTextField?

    I got a JTextField. I want to test the entered data in JTextField is eight length. If the data is of length eight then i want to enable two buttons. How to make it enable? I am getting the length eight, but the buttons are not enable. What listeners I have to use.
    Can anybody help me out.
    Thanks for your help in advanced.

    Create a class that extends KeyAdapter. Add a field that is an array of buttons. Override the keyTyped(KeyEvent e) method to use getSource() to access the text area, check the length of the text, and if > 8, go through the array and enable the buttons in the array. Then, when you create the text area, create an instance of your listener, passing it an array of the two buttons you want to enable, and then use addKeyListener(yourKeyListener) to add your key listener to the text area.
    Doug

  • [Flex 4.5.1] DropDownController - how NOT to close drop down when clicked on? Example provided!

    http://www.nedyalkov.net/filip/flex_projects_tests/DropDownControllerTest/ - view source enabled
    When you click the button a drop down is shown. All I want to do is stop it from closing when you click on the drop down. I read a bit from the source code of the DropDownController and it seems like it should check if the mouse is clicked on the openButton or on the dropDown and if it is one of them keep the dropDown open if it's somewhere outside - close it. But in my case - when I click on the dropDown in closes itself... I tried to add it to the hitAreaAdditions... no luck the same problem.
    So the question is: How do I make the drop down NOT to close when clicked on?
    Please check my example and let me know what am I doing wrong... should be very simple but... thanks!

    First to correct my example - since I copied the code for the drop down from the dropDownListSkin it has includeIn="open" which causes my dropDown to be null when I set it to dropDownController.dropDown. To fix the example if you test it just remove the includeIn and autoDestructionPolicy lines.
    I believe I have found a bug in the DropDownController, would be nice if adobe employee confirms this or correct me if I am wrong.
    Here is the source function the code marked in red is with the issue:
    mx_internal function systemManager_mouseDownHandler(event:Event):void
            // stop here if mouse was down from being down on the open button
            if (mouseIsDown)
                mouseIsDown = false;
                return;
            if (!dropDown ||
                (dropDown &&
                 (event.target == dropDown
                 || (dropDown is DisplayObjectContainer &&
                     !DisplayObjectContainer(dropDown).contains(DisplayObject(event.target))))))
                if (hitAreaAdditions != null)
                    for (var i:int = 0;i<hitAreaAdditions.length;i++)
                        if (hitAreaAdditions[i] == event.target ||
                            ((hitAreaAdditions[i] is DisplayObjectContainer) && DisplayObjectContainer(hitAreaAdditions[i]).contains(event.target as DisplayObject)))
                            return;
                closeDropDown(true);
    I think these lines of code were ment to look like this (notice the black exclamation mark):
    (dropDown &&
                 (event.target != dropDown
                 || (dropDown is DisplayObjectContainer &&
                     !DisplayObjectContainer(dropDown).contains(DisplayObject(event.target)))))
    or like this (should be the same thing):
    dropDown && !(DisplayObjectContainer(dropDown).contains(DisplayObject(event.target))
    So this bug causes the drop down to close wherever you click when the event.target is the dropDown itself. Workarounds I guess are put another component in the drop down and "cover" the dropDown with it so it doesn't get any hits or use the hitAreaAdditions.
    Message was edited by: FM_Flame

  • How do I change email client when clicking mailto links?

    I have reformatted my computer about 1 month ago. Everything almost as I had it before. Just 1 thing that is bugging me.
    '''My email client is IncrediMail'''. When clicking mailto links in Internet Explorer, my IncrediMail opens as it should do, but in Firefox (which is my preferred default web browser) it opens another tab, wanting me to sign in to GMail to compose my mail.
    I do have GMail accounts, '''BUT''' I want Firefox to open up my IncrediMail to compose my emails, just like it did before my reformat.
    Any ideas would be gratefully received ;)

    To make Firefox use Incredimail for mailto links, do the following.
    1. find the path to Incredimail on my Windows 7 machine it's:
    "C:\Program Files (x86)\IncrediMail\Bin\IncMail.exe" (you can find this by right clicking on the desktop Incredimail Icon and selecting Properties. Copy this address))
    2. Type about:config into your Firefox location bar and hit enter. If you've never edited used about:config before, you'll see a warning.
    3. Click "I'll be careful, I promise!" This will bring you to the about:config window.
    4. In the filter field type "gecko". Find the entry gecko.handlerService.schemes.mailto.0.name;
    5. Right click and select Modify.
    6. Paste or type the Incredimail path in the field provided "C:\Program Files (x86)\IncrediMail\Bin\IncMail.exe" (the qoutes are required)
    7. Make sure that network.protocol-handler.external.mailto; is set to true.
    That worked for me after many hours of searching and finding answers posted by individuals who wanted to help but didn't have a clue.

Maybe you are looking for

  • Can only see iphone in itunes on imac.  can't see iphone in devices on imac.

    I could previously see my iphone in my 'devices' on my imac.  When I connect it now, it is only visible in 'itunes'.  I now have no control over what I want copied from my imac to my iphone.  Don't understand why the phone does not appear in devices

  • IDS signature tuning... interval questions.

    Just starting out trying to tune some signatures to fit our environment, and looking for clarification on some parameters of IDS signatures. For example: 2152 - ICMP flood It uses the "Flood Host" engine with the action parameters: Limit type: percen

  • ToolTip class

    i'm creating a toolTip on a movieclip. so far i got the text to load on the toolTip. i need some help on adding an image to the right of the toolTip. what should I do ...

  • Downloading cs6 master collection onto pc, it disappears and nothing happens after finishes downloading

    I followed the links that were in the conformation email that I got to download CS6 master collection, I have downloaded it twice and after it finishes downloading it asks me where it should open it in (an app, or internet, or word etc) and I have tr

  • Creating an animated outline of an image?

    I searched for quite some time but could not find a solution or tutorial on how to accomplish this. I'm looking for a way to take an image (a logo, or even a text image) and have a "glowing" white point trace the outline of the image from one startin