How to do the "Key-enter" trigger (when you click on enter key) works as the key "F8"?

Hello. I have another question to ask.

Oracle Forms 6i.

I have a form in which SMARTBAR & by DEFAULT is the menu and there is no push buttons.

In the form, there is a "field" named as "ID no.". After entering "No ID" in the field and click on the button 'Run query' in the menu 'DEFAULT & SMARTBAR', all the details of this respective "No ID" gets displayed in other areas. Even if I press "F8" all fields is displayed with values.

But I have a requirement, i.e. after the entry "No ID" and click on the 'Enter' key, I want all the values to display.

So I created a "Key-enter" trigger with the following code:

BEGIN

EXECUTE_QUERY;

END;

But after entering "No ID" and click on the 'Enter' key, the values are not displayed.

What can I do to make this happen?

Thank you.

It depends on the design of your form. If your article ID is part of the base table block, you can do it.

On your entry ID, create a KEY-NEXT-ITEM trigger:

If: system.mode = "ENTER-QUERY" then

execute_query;

on the other

next_item;

end if;

Now

-L' user clicks enter the query (via smart bar icon or F7).

-User enters ID and click on the button to execute the query.

Tags: Oracle Development

Similar Questions

  • How to send data to a datagrid, when you click on a line on a label in the other State.

    I mean the Datagrid in state1, and state2 label

    I try with this code:

    protected function listDg_gridClickHandler(event:GridEvent):void

    {

    If (slistDg.selectedIndex == 0) {}

    lblid. Text = "My Text";

    currentState = 'State2 ';

    }

    }

    If the label is on the main State it displays the text, but if I use the label in the state2 it gives me an error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    any help?

    I have fixed my car, just move the current state to the top and that's all!

    protected function listDg_gridClickHandler(event:GridEvent):void

    {

    currentState = 'State2 ';

    If (slistDg.selectedIndex == 0) {}

    lblid. Text = "My Text";

    It works!

  • How to make a motion tween play when you click it?

    I am brand new to the FLASh and I have a motion tween of a wheel that rotates 360 degrees and I need to play when it is clicked on.  This is probably something that is really easy to do, but I just can't understand it.  Someone at - it good indications?

    Hello

    you need to do an instance name for your movieclip, for example "myMC". Select the first frame in the new layer, and then click window-> Actions.

    To write:

    myMC.stop (); stop your mc when movie starts

    myMC.addEventListener (MouseEvent.CLICK, regarderMovie); Add a listener for the click of the mouse the mc that will trigger the function playMovie

    playMovie(event:MouseEvent) //function MC function start

    {

    myMC.play ();

    }

    I hope this has been helpful.

  • See the text when you click on doesn't work on PC

    Hello

    I tried to find how do to have some text appear in a box on request. What I came with works fine in Safari and FireFox on Mac, but is displayed in a browser on a PC.

    Here is a link - scroll down almost to the end where there is a graph of the hexagon with letters autour. Click on one of the letters and the relevant text to this letter should appear in the space to the right of the hexagon. Works fine on Mac, not PC.

    http://gsconsultants.NET/training/strong/modules/Module2/Module2.html

    Is there a better way to do it or if I can do something to make it work on a PC as well?

    Thank you!

    Hanna in Tahoe

    Works.

    Why she didn't?  Here's why:

    Your ID text box has been applied to a

    tag.  When the SetText behavior is used, it results in invalid code from the interval
    and
    is replaced by your content, consisting of one-

    all your content

    What is HTML not valid.  I have recommended to only change

    which would produce
    all your content
    a perfectly valid way to display this text.

    I'm glad it worked!

  • How to make a subpage in homepage when you click hyperlink?

    I have a page about, and in this page, I have listed all the Dr. Office.  Now when I select a link I want the selected page opens in the same page.

    Hello

    I think that you are looking for type "Accordion" of affect. If you want to hyperlink elements, it will open the new page, it does not open a subpage in the homepage. Try to use the Accordion widget and see if it serves your purpose.

    Kind regards

    Aish

  • How can I make an availability calendar as they use in the touroperater Web sites. A calendar when you click a button, it displays the dates available for booking? Or do I need a database for that?

    I m busy doing a site for a touroperater. I'm trying to figure out how to do an availability calendar. When you click a button, it will display a calendar where you can choose a date where you wish to arrive and when you leave. When you´ve does this, it will show you whether or not your choisen dates are available.

    I hope I have made myself clear with this question.

    Hello

    Take a look at this topic, discussing the same stuff,

    Appointments available for a site of Muse?

    Please let us know if yous until cases of doubt.

  • When you visit a particular site my user name is entered automatically when you click in the required area. I want to avoid this, how?

    This site requires a username to be filled in a specific area and in another box, you enter a series of numbers generated by a generator of numbers (so not a password - different series each time that you open a session).
    However I do not want my user name appears automatically in the first box. Trying to change that in the security settings (extra-options-security), there is a password section where you can choose any exceptions to the rule of the memory (if the box remember is marked). When clicking the exceptions button, the url of the site I'm talking about is not displayed, and it cannot be entered either, since you can't delete here.
    When you click on the option "saved passwords", nor the site, nor the username is listed. I think I've read all the help sections regarding usernames and passwords, but found no solution.
    How can I avoid this username (so only a user name - not the usename/password combination), appear in the box?

    Click on the box, hover over the drop-down menu with your mouse, if you select the word you want to delete, and then press the delete key. If Firefox fills automatically in forms of control

  • When you click on a tab open, how to do the update automatically in the body of the page?

    When you click on a tab open, how to do the update automatically in the body of the page?

    Right clicking on a tab open and using the arrow keys now now moves through open tabs. I liked the old versions where just after having clicked on a tab you can directly go to the page with the arrow keys to navigate.
    Y at - it something that I can change the subject: config to change this behavior?
    Thanks in advance.

    Firefox has yet to set the focus in the area of browser if you click on a tab.

    Only with very old browser versions you could set the focus to a tab by clicking a tab.

    This problem is probably caused by an extension.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the start safe mode window or make changes.
  • How to open 2 sites on start and 1 Web site when you click the home button?

    How to open 2 sites on start and 1 Web site when you click the home button?

    You can change your shortcut on the desktop Firefox with two starting URLS. To try:

    • Shortcut on the desktop: right-click on the icon, choose Properties
    • Icon taskbar pinned: clic click right on the icon, right click in Mozilla Firefox, click on properties

    Windows normally selects the shortcut tab. If this is not the case, go ahead and click on the shortcut tab.

    You will see the target highlighted. On 64-bit Windows, which is usually either not less the following:

    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
    

    For the specific shortcut launch pages, you can add them to the end, for example:

    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -url "http://www.dilbert.com/" -url "http://www.gocomics.com/pearlsbeforeswine"

    After OK'ing the Properties dialog box, you can test everything right now to confirm that Firefox is now launching a window with tabs. Either:

    • Double-click the shortcut on the desktop
    • right click on taskbar icon pinned, click Mozilla Firefox

    Who do you want?

  • How could I have a default folder when you import the photos? Example: E/photos/2016

    Lightroom important images in the folder users/me/photos/2016.

    How could I have a default folder when you import the photos? Example: E/photos/2016

    JPcoul1

    Save a preset

    1. make your options in the panels on the right, choose the folder of "Year" etc.

    2. click on the menu drop-down and "Save current settings as a new preset.

  • How to do an audit in the order page IN. When you click on the button "submit"

    I want to do an audit in order IN. When you click on the "submit" button, it will be checked whether the OP is reserved and will display the message if not.

    I have a CO span from the original, I can know where should I put the logic inside the processFormRequest? and how to write code to control them thanks.

    public void processFormRequest (pageContext, OAPageContext,

    OAWebBean oAWebBean)

    {

    super.processFormRequest (pageContext, oAWebBean);

    }

    OK here is the code below,

    String sql = "START: 1: = XXPO_CHECK_RESERVED_PKG." XXPO_CHECK_RESERVATION(:2); END; « ;

    CallableStatement cs = txn.createCallableStatement (sql, 1);

    String outputval = null;

    try {}

    cs.setString (2, Segment1);

    cs.registerOutParameter (1, OracleTypes.VARCHAR);

    CS. Execute();

    outputval = cs.getString (1);

    TXN.Commit ();

    } catch (Exception sqle) {throw new OAException ("Error in the application of staffing", OAException.ERROR) ;}}

    -Beginning of the code by Hemant

    If ("N".equals (outputval) &! ") ». Equals (outputval))

    {

    throw new OAException ("The PO isn't in reserved State");

    }

  • How to enlarge the parts of a circle of get - have text pops up when you click on it?

    I'm working on an interactive infographic in edge animate CC. I use pieces of a circle and when you click on / hovered, I want the pieces to grow and also have the text pop up on the side. I am struggling with how to animate my circle pieces so that they move and are clickable. Can someone offers directions?

    I made a sample for you, but not using EC.  This used boxes, images and a text field which is change according to the box that is clicked. I hope this helps.

    PNG and info.zip - Box

  • How can I get data from each associated XMLnode in movieclips separated when you click a line in the combobox

    How can I get data from each associated XMLnode in movieclips separated when you click a line in the combobox?

    A sample of XML is like this:

    <>planter

    < Lauvtre >

    < Botanisk_navn > Acer campestre < / Botanisk_navn >

    < Norsk_navn > Naverlonn < / Norsk_navn >

    Gronn < Farge > < / fan >

    H4 < Herdighet > < / Herdighet >

    < Hoyde > 10-15 m < / Hoyde >

    < / Lauvtre >

    I have a combobox where it shows the botanical name and the Norwegian name. But the rest of the info in movieclips seem separate.

    Someone has an idea how to do this? Can I use the trace function maybe? Here is my AS3 code so far:

    var loader: URLLoader = new URLLoader();

    loader.addEventListener (Event.COMPLETE, onLoaded);

    list.addEventListener (Event.CHANGE, itemChange);

    function itemChange(e:Event):void

    {

    your. Text = list.selectedItem.data;

    TB. Text = list.selectedItem.label;

    }

    var xml;

    function onLoaded(e:Event):void

    {

    XML = new XML (e.target.data);

    var it: XMLList = xml. Planter.Lauvtre;

    for (var i: uint = 0; i < il.length (); i ++)

    {

    list.addItem ({data: it.}) Farge.Text ([i]) + "\n"+ it.» Herdighet.Text ([i]) + "\n" + it. Hoyde.text ([i]),

    label: it. Botanisk_navn. Text() [i] + "\n"+ it.» Norsk_navn. Text() [i]});

    }

    }

    Loader.Load (new URLRequest ("lauvtre.xml"));

    Thank you!

    Rheus.

    I don't know what you're trying to do.  but, if you want to fill one combobox with the botanical names and when one is chosen, the other use of logins:

    var loader: URLLoader = new URLLoader();

    loader.addEventListener (Event.COMPLETE, onLoaded);

    list.addEventListener (Event.CHANGE, itemChange);

    function itemChange(e:Event):void {}

    var selectedObj:Object = a [list.selectedIndex]

    trace (selectedObj ['fan'], selectedObj ['Botanisk'], etc);

    }

    var xml;

    var a: Array = [];

    function onLoaded(e:Event):void {}

    XML = new XML (e.target.data);

    var it: XMLList = xml. Lauvtre;

    for (var i: uint = 0; i

    list.addItem({label:il[i].child('Botanisk_navn').toString()});)

    a [i] = {'Fan': it [i].child('Farge').toString (), 'Herdighet': it [i].child('Herdighet').toString (), "Hoyde": he [i].child('Hoyde').toString (), 'Botanisk':il[i].child('Botanisk_navn').toString(),'Norsk_navn':il[i].child('Norsk_navn').toString()};}

    }

    }

    Loader.Load (new URLRequest ("test.xml"));

  • rolling keys move to the right when you click

    http://kimberleystarmoore.com/wendysawesomeart/index.html

    The top menu buttons have been created using the "insert rollover buttons" in the insert icon > images: flipping image toolbar.

    However when the user clicks on the button HOME. the REMARKS and the GALLERY buttons momentarily move slightly to the right. This also occurs when you click the ABOUT button, the GALLERY button momentarily moves slightly to the right.

    How can this problem be fixed?

    Thank you

    KM

    See this code:

    .primary-nav a:active{
         margin-right: 5px;
    }
    

    Delete it.  The: active pseudo-device class is what happens when you click on something, so you add 5px to the right when you click.  I would also recommend removing the old doctype commented.  Is really not keep it on your page.  And finally, on the CSS document for "a: visited ', 'fat' is not a valid attribute for 'font-size '.  You can change it to 'font-weight' or change the size to a size.

  • How can I close Safaricloudhistory and Safarinotification when you are prompted during the uninstallation of cs5

    I'm trying to uninstall my CD of Creative Suite CS5 version.  I now have the cloud of CS6 version.  Once I'm on uninstall section I'm prompted to close the following applications: "Safaricloudhistory and Safarinotification" neither of which I am able to find nearby and therefore unable to continue my uninstall.

    Help, please.

    Thank you

    J

    The steps in the Correct link and applies to Yosemite as well.

    Launch the activity monitor of Applications > utilities.

    Or Finder > go > utilities.


    Once the activity monitor is running, check for Safari process and force them to leave the same.

    When you click X button marked, it will encourage Quit option and force him to leave. Click the option to force out.

Maybe you are looking for