How do I capture selected record ID when I pressed the Button

Hi
I have a repdort with below query.
select
empno, ename, job, sal,
'<input type="button" value="Employee" />' "Select"
from emp
This query gives each row a button. When I press a button of a particular row I wanted to capture that row empno field value. How can I do this?
Regards
kiran Akkiraju

If you are trying to make the button do a submit to this page or another page to see employee detail, you are probably better off creating a link on you column in the "Report Attributes" section that will make the column a hyperlink (text or image, you can pick) (see How can i make a linking column in a report it has a link to a how-to from Oracle and some HTML formatting hints to make the link more informative with ALT text)
Here is one way to capture the selected employee number. Hopwever, it will not submit the form though. You can put the value of empno into another field using javascript. The Pxxx_destination_field is the name of the field on the page you want to push the empno into.
select
empno, ename, job, sal,
'<input type="button" onclick="javascript:html_GetElement(''Pxxx_destination_field'').value = ' || empno || ';" value="Employee" />' "Select"
from emp

Similar Messages

  • I have all my songs in my iTunes library on the computer, but when I press the button to sync it, it doesn't put the songs on my iPhone. I have songs from my iPod on here too.  How do I get it to put the songs on my iPhone?

    I have all my songs in my iTunes library on the computer, but when I press the button to sync it, it doesn't put the songs on my iPhone. I have songs from my iPod on here too. How do I get it to put the songs on my iPhone?

    Have you selected the music to sync?

  • Dear all, Since a week ago I observe that when I press the button for my macbook air to start a nap, first the screen turns to black but I can see the arrow (pointer). And only after few seconds the arrow and the screen really shut down.

    Dear all, Since a week ago I observe that when I press the button for my macbook air to start a nap, first the screen turns to black (although I can see it is stil on) and I can see the arrow (pointer). Only after 15 seconds the arrow and the screen really shut down. It did not occur before, as a matter of fact it was instantaneous. What could be the problem?

    Note the time in your Mac's menu bar or some other accurate timepiece. Then, press the button to put the MBA to sleep. Wait until the cursor disappears and for all indications that the Mac appears to be asleep.
    Then, wake the Mac the way you normally wake it.
    Then, find the Console app - it is in your Utilities folder and looks like this
    You can find it by selecting Utilities from the Finder's Go menu.
    Open Console.
    If the log list column on the left is not already displayed, show the log list by selecting Show Log List from Console's View menu.
    Locate system.log in the list and select it. Many date and time-stamped entries will appear, hundreds of them, and you must find the entries relevant to your Mac's sleep problem. To do that type the words sleep cause in the Filter field at the upper left of the Console window:
    That will cause all log entries to be hidden, except for the entries containing those words. The last entry in the list will correspond to the last time you woke the Mac. It will have a time stamp in the form hh:mm:ss later than the time you noted in the Mac's menu bar prior to putting it to sleep.
    Make note of that exact time in hours, minutes, and seconds.
    Next: Clear the filter field by clicking the x in the above screenshot. It should then look like this:
    All previously displayed log entries will reappear.
    Next: Find the log entry that corresponds exactly to the time you noted in hours, minutes, and seconds containing the words "previous sleep cause". You may have to scroll up or down a considerable distance. When you find that line, select it and drag your cursor up and prior to the entry corresponding to the approximate time you noted before putting the Mac to sleep. This will result in a selection of perhaps 50 to 100 lines or so.
    One or more of them, along with their time stamps, may reveal the reason for the fifteen second delay.
    Copy and paste those log entries in a reply.
    Most of the entries will be cryptic but will contain information you might consider personal such as your Mac's name. If you do not want that information to appear, delete or obscure it when posting your reply. Leave enough information so that the entries can be deciphered.

  • Something has happen my ipad air 2 it wont let me download or update any apps, when I press the button do update or download it looks like it is but it doesn't so if anyone knows what's going wind please help me

    Something has happen my ipad air 2 it wont let me download or update any apps, when I press the button do update or download it looks like it is but it doesn't so if anyone knows what's going wind please help me

    Do you have any restrictions for purchasing apps on the phone? Settings > General > Restrictions. If you have a Mac computer or another Apple device can you purchase things in the App Store using the same Apple ID on something else?

  • Hi, I need help my computer is not starting up at all, nothing happening when I press the button on/off. The battery charger is working as using it for another laptop. Not sure what to do. Anyone have any idea? many thanks

    Hi, I need help my computer is not starting up at all, nothing happening when I press the button on/off. The battery charger is working as using it for another laptop. Not sure what to do. Anyone have any idea? many thanks

    You could try a SMC reset:
    http://support.apple.com/kb/HT3964
    If no change, do what Allan advises.
    Caio.

  • MY iPhone 4 after  being updated to iOS7 will not download or update any apps. When i press the button on my device to download a new app the loading wheel appears then in a few seconds disappears. I dont get a terms and conditions screen or anything.

    MY iPhone 4 after  being updated to iOS7 will not download or update any apps. When i press the button on my device to download a new app the loading wheel appears then in a few seconds disappears. I dont get a terms and conditions screen or anything.

    Ive tried using wifi and 3G seperately. Ive tried restarting the phone. Ive tried restoring it from a backup but none of these have worked yet.

  • HT5622 Actually um trying to update new iOS 7 for my iphone 4 but when i press the button to install new software suddenly it appears why " iOs 7 failed verification because you are no longer connected to the internet " even my phone is already connected

    hie there Actually um trying to update new iOS 7 for my iphone 4 but when i press the button to install new software suddenly it appears why " iOs 7 failed verification because you are no longer connected to the internet " even my phone is already connected to net

    I tried powering down and re-starting the iPhone (as suggested at http://support.apple.com/kb/TS1275). This seems to have cleared the "...not connected to the Internet" problem, and iOS 6.1 is now in the process of downloading.
    Thanks very much for your feedback.

  • Having problems us ng my ipod 7g Nike Fitness.  When running when I press the button between the volume buttons, I get a different action almost every time.

    I am having problems using my ipod 7g with Nike Fitness.  When running when I press the button between the volume buttons, I get a different action almost every time. And usually I end up either turrning volume up very high or ending the workout. I need to be able to pause workout, and get spoken feedback regarding time, distance, and pace, that's all. I'm using a Griffin brand armband, that covers all of the buttons.  I've read the online manual.  no help.  I'm just about ready to return it and go back to my 5th gen with its smaller song capacity and no blurry.  Any help or suggestions very welcome.

    Jeff:
    I have had both good and bad experiences with Acronis True Image. I got the recent copy of ATI via a Newegg.com bundle. I haven't tried it yet on any Windows 7 editing systems. ATI installs some services that I would rather not have running in the background.
    What made you change from ATI to ShadowProtect Desktop Edition?
    Are you running Windows 7?
    What do you see as advantages to running ShadowProtect Desktop Edition as opposed to Acronis True Image?
    Thanks

  • I can not make my mac book pro can turn on,when I press the button of power ,there is no response, I can not make my mac book pro can turn on,when I press the button of power ,there is no response

    I can not make my mac book pro can turn on,when I press the button of power ,there is no response, I can not make my mac book pro can turn on,when I press the button of power ,there is no response

    Maybe some help here:
    http://support.apple.com/kb/TS1367
    http://support.apple.com/kb/TS1365

  • How to show old value in webui when user press NO button on popup button.

    Hi Experts,
    As per requirement I have created custom field with dropbox and with popup box to cofirm user decision if value from field changes.
    Now on Popup when user press Yes then its Ok as no need to change the current value in the field.
    but when user press the NO button I want to display the old value on Web UI so now I am able to catch the old value and pass it into the field at backend but I am not able to make the change on the web page.
    Please reply if anyone have solution for it.
    BR
    Gaurav    

    Hi Gaurav,
    First of all when all this is happening in UI why you need to pass the selected value to backend. I didnt get this.
    I believe, this is only ui related and the old value which you got can be set in the IMPL class global variable and  trigger method set_on_close_event, say here 'CONFIRM_POPUP_CLOSED' as shown below:
      gr_popup->set_on_close_event( iv_event_name = 'CONFIRM_POPUP_CLOSED'
                                        iv_view = me ).
    Retrive the answer as per selection from popup in method 'CONFIRM_POPUP_CLOSED'
    by using:
      lv_answer = gr_popup->get_fired_outbound_plug( ).
    if lv_answer is NO, then put back the globally stored old value back to dropdown attribute, using:
    set_property_by_value method(   iv_attr_name = 'dropdown attr' iv_value = 'old value' )
    Thats it. No need to do anything.
    Regards,
    Bhushan

  • HT201436 How do I fix my voicemail?  When I press the voicemail button the phone dials voicemail instead of displaying the "greeting" tab.

    how do if ix my voicemail.  the phone dials voicemail when I press the voicemail button, instead of displaying the greetings tab.

    Hello there, BigAppleBorne65.
    The following article is specifically written to help you with your issue:
    iPhone: Troubleshooting voicemail
    http://support.apple.com/kb/TS4430
    Review all recommendations on this Knowledge Base article to resolve your issue.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • How can I stop iTunes from launching when I hit the button on my head phones

    On my MBP I have some head phones that have an inline mic with call answer button. The button on the head phones is fairly sensitive and I tend to bump it on accident often. When I hit the button iTunes is launched or if I have it open it starts music.
    Is there anyway to stop this from happening? This is driving me crazy!

    This problem has been an issue for a number of months and has led to frustration and public humiliation on countless occasions.
    When disconnecting from my Bose Soundlink at home (playing nothing) in order to taking my laptop on the run I open my laptop to find that the entire contents of my iTunes playlist is being belted in public. The subway, the library, my classroom is not the time or place for my laptop to make the decision to begin playing my music without permission. When at home and my Soundlink goes on standby I have nearly had a heart attack when my laptop spontaneously begins blaring my music when I wasn't even touching the thing.
    I love my Soundlink and I love my Mac but together the devices are causing no end of aggravation with no fix in sight. With each OS update I hope the problem is addressed but to no avail, it is getting tiresome that such a flaw isn't being fixed in a timely manner.

  • My iPhone 4S keeps losing connection and turning off, and i am unable to turn it back on again without the charger, but it turns on when i press the button and regains signal fine once i return home?

    Hi
    I have recently bought a white iPhone 4S on Tuesday, and it has been repeatedly loosing all connection and just suddenly switching off.
    When this happens I am unable to turn the phone back on again without a power source plugged into it. When I try to remove the phone from the power source it goes completely dead again.
    However, the most recent time this has happened (today), as soon as I returned home the phone had no problem starting up as normal when I pressed the power button.
    The signal was working fine even though it says 'searching' in the left hand top corner of the screen. I am wondering if my WIFI at home is influencing the phone to work inside the household?
    This is a problem that needs to be sorted out ASAP because the phone is not working the majority of the time when I need it to.
    Please if you have any suggestions or know the cause of this problem inform me straight away.
    Would be much appreciated.
    Thank you.

    Try connecting it to your iTunes library in Recovery Mode and restoring it.  See this article for help on getting your iPod into Recovery Mode.
    http://support.apple.com/kb/ht1808
    B-rock

  • Cannot delete Lists from Reminders app after upgrading to iOS 7. The deal is that those lists don't show in iCloud account in the Web-Browser, so I cannot delete via Browser, when I press the button Edit in the List, there is no Delete button at thebottom

    On my iPhone 5, upgraded to iOS 7, the lists in Reminders are impossible to delete.  When I press Edit button in the right corner of the app, the button Delete list is supposed to be at the bottom, but it's empty there, the deal is I could delete some of the lists, but most of them I can't. I tried delete iCloud account from iPhone, but they are still there, and still no Delete button. In the Browser I don't see those lists, so cannot delete them from the Browser as well. Could you help me?

    Read on another thread here that you now swipe in the opposite direction. Try swiping right to left.

  • HP Pavilion g7-2270us: The disc tray won't open when I press the button!

    Hi everyone! I've had my laptop for a day or two now, and I love it! Today, though, I wanted to burn a disc, and realized that when I push the button on the disc tray to open it, it won't open.
    It still opens, though; I can go to Computer> Right Click the disc driver> Eject, and the tray opens just fine. Is the button defective?
    I mean, it's not all that bad, and if that's the only problem, I can deal with it. It's not going to get worse, is it? Should I concern myself with replacing it?
    Thank you in advance!
    Also, I apologize if this is in the wrong section...
    This question was solved.
    View Solution.

    Hi,
    It does sound like a mechanical defect with the optical drive release mechanism.  While this may well not cause any other issues, seeing as this is a brand new machine, my best advice would be to simply return the notebook to the retailer it was purchased from and get a replacement.
    Best regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

Maybe you are looking for