Setting up a remote with ir-tables for use with XBMC

My main goal is to use a remote with xbmc, but I'm having issues.
Issue #1 (main problem): The directional keys and enter will work but no other keys seem to register.
Issue #2: Even the keys that work have this weird usage issue, where pressing any of the same key twice loses the second key press. For example clicking up arrow 4 times results in only two actual "up's" being done. (first up works, second fails, third works, forth fails, etc)
I've spent about four hours getting to this point and there is a lot of conflicting information out there on this subject which has had me very confused, but at this point I assume I can ignore any mention of Lirc as it seems like its not needed and if ir-keytable is used correctly things should just work?
Quote from www.lirc.org: "Recent linux kernels make it possible to use some IR remote controls as regular input devices"
What I have got/done:
Machine: Zotac Zbox Nano AD10 with remote.
Linux: Manjaro Openbox Addition
Testing in applications: XBMC, Leafpad, Terminal
[david@zotac ~]$ dmesg | grep CIR
[    4.444693] ite_cir: Auto-detected model: ITE8704 CIR transceiver
[    4.444701] ite_cir: Using model: ITE8704 CIR transceiver
[    4.478490] input: ITE8704 CIR transceiver as /devices/virtual/rc/rc0/input8
[    4.478531] rc0: ITE8704 CIR transceiver as /devices/virtual/rc/rc0
[david@zotac ~]$ ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event6) with:
        Driver ite-cir, table rc-rc6-mce
        Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
        Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
        Name: ITE8704 CIR transceiver
        bus: 25, vendor/product: 1283:0000, version: 0x0000
        Repeat delay = 500 ms, repeat period = 500 ms
#My keymaps file contains (I just put the keys that I would like to use with xmbc)
0x8034045b KEY_RIGHT
0x8034045a KEY_LEFT
0x8034045c KEY_ENTER
0x80348459 KEY_DOWN
0x80340458 KEY_UP
0x80348421 KEY_R
0x80340420 KEY_F
0x80348410 KEY_EQUAL
0x80348483 KEY_ESC
0x80348431 KEY_X
0x8034842f KEY_T
0x803404cb KEY_I
0x8034845d KEY_M
0x8034042c KEY_P
0x80340411 KEY_MINUS
I write my keymaps file: (I think /etc/keymaps/[file] would be a better location for this file but it shouldn't matter is that correct?)
ir-keytable -c -w /home/david/Documents/keymaps --device=/dev/input/event6 --period=500 --delay=500
I can verify the settings are registered:
[david@zotac ~]$ ir-keytable --read --device=/dev/input/event6
scancode 0x80340411 = KEY_MINUS (0x0c)
scancode 0x80340420 = KEY_F (0x21)
scancode 0x8034042c = KEY_P (0x19)
scancode 0x80340458 = KEY_UP (0x67)
scancode 0x8034045a = KEY_LEFT (0x69)
scancode 0x8034045b = KEY_RIGHT (0x6a)
scancode 0x8034045c = KEY_ENTER (0x1c)
scancode 0x803404cb = KEY_I (0x17)
scancode 0x80348410 = KEY_EQUAL (0x0d)
scancode 0x80348421 = KEY_R (0x13)
scancode 0x8034842f = KEY_T (0x14)
scancode 0x80348431 = KEY_X (0x2d)
scancode 0x80348459 = KEY_DOWN (0x6c)
scancode 0x8034845d = KEY_M (0x32)
scancode 0x80348483 = KEY_ESC (0x01)
At this point is seems like everything is setup correctly but like I said only the direction keys and return work. If it did work my next step would be determining when to issue the ir-keytable write, and I'm assuming I can just do that in openbox's autostart file?
Does anyone have any ideas as to what I might do to correct these issues?

I also encountered davevallance's issue #1.  Directional and enter keys already work, as do volume keys.  If any other button is mapped to those working keys (using ir-keytable) then they also work, for example I can successfully map the useless "teletext" to "enter" and it produces a linefeed when pressed but I cannot get it to do the same with "space".  Interestingly it does produce a space keypress in a virtual terminal (Ctrl+Alt+F3), also "ir-keytable -t" shows the correct key event which proves the underlying OS is recognising the mapping.  The issue is somewhere in the X system instead.
I refer now to HID Remotes which covers the situation well.  It explains that X does not process keycodes above 255 and at first that would seem to fit here.  All the keys which work (arrows, enter, volume) have keycodes less than 255.  So why don't other 'safe' keycodes work too?
Xorg has it's own keycode map with "xmodmap" but I don't think that is responsible in this case.  From the Arch wiki it suggests exploring with:
xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
Unmapped keys should produce a "NoSymbol" message but for my non-working keys there is no response at all in X.  Is there another layer between kernal and GUI?

Similar Messages

  • Using Pages, I have created a document and inserted a Table for use in logging an inventaory. When I came to print this off however the lines for the table were missing but the text was in the Table format, weird! How do I print the Table?

    Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?

    Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?

  • Setting environment variables remotely doesn't work for Windows 7

    Hi,
    $RemoteMachineList = 'machA', 'machB'
    $session = New-PSSession $RemoteMachineList
    Invoke-Command -Session $session {[Environment]::SetEnvironmentVariable("Role",0,"Machine")}
    The above is the code snippet which I've tried for setting a machine level environment variable. After executing this code in a collection of XP and Windows 7 machines, when I go and check the advanced settings->system environment variables, I can see
    the new entry "Role" in all the machines. But unfortunately, this env variables actually gets set only in XP machines(I did a set command from a cmd prompt/or an echo command) whereas in Windows 7 machines, this doesn't exists even though it
    shows up in the advanced settings->system environment variables.
    Tried in several machines, only Windows XP is yielding the required result.
    Please help. 
    Thanks in advance ! 
    -Aravind

    Thanks Chen, but still the same result. 
    I'll narrow down the scenario(actually two scenarios) as per the way it's behaving on Windows 7 machines.
    Case - 1
    1. I do a SetEnvironmentVariable remotely.
    2. I go to that remote machine and search in advanced settings -> system env variables window. Dont click on the OK Button.  Close these windows.
    Result: Yes it is there as an entry.
    3. I open up a command prompt and type 'set'
    Result: No it is not set.
    4. Again open up advanced settings -> system env variables window. Click on the OK Button.  Close these windows.
    5. Now open up a command prompt window and type 'set'
    Result: It is set now
    Case 2:
    1. I do a SetEnvironmentVariable remotely.
    2. I go to that remote machine and search in advanced settings -> system env variables window. Dont click on the OK Button.  Close these windows.
    Result: Yes it is there as an entry.
    3. I open up a command prompt and type 'set'
    Result: No it is not set.
    4. I do a system restart.
    5. Open up a command prompt and type 'set'
    Result: It is set now
    Any idea why this is behaving like this(more or less like setting a user level env variable), please  ? I've to some way get through this obstacle to advance further. Thanks a lot for the support

  • Trying to set Harmony 900 remote with Apple TV - Which device type to I select?

    When trying to add a device within the Harmony software on my iMac, which device tpe to I choose for the Apple TV?

    I found the answer here:  http://apple.stackexchange.com/questions/68301/how-do-i-set-my-logitech-harmony- remote-to-control-my-apple-tv
    briefly it is: Computer-> Media Center PC -> Apple -> Apple TV

  • How to create tables for using in SQL/php website

    Sorry for asking basic question because I 'm knew.
    i was building a dw site for listing multiple products. i was following DW, the Missing Manual book tutorials. The tutorial offers downloadable data tabels in a folder with .sql extension. I just cannot find anywhere an instruction as how the .sql folder is created.
    Second question: if it can be created in Access 2007, please tell me how.
    thank you sooo much.

    Hi Walt,
    Thank you so much for spending the time trying to answer me.
    you are right, it is a .sql file, not a folder. However, once it is imported into MySQL server, it spits out 4 tables. Please see the following tutorial steps:
    "4. in phpMyAdmin's top navigation bar, click the Import button.
    Doing so takes you to a page that lets you type in an SQL query or load a test file that has SQL commands in it. You'll do the latter-load a text file that contains all the SQL necessary to create the tables and data for the database.
    5. Click the Browse button in XAMPP (application software for SQL server), In the File Upload window that appears, navigate to and select the file cosmofarmer.sql in the php_dynamic folder you downloaded with the tutorial files.
    6. Click the Go button.
    The MySQL server slurps down the SQL file, and executes the instructions found within it. The results? Four new talbes are created (see the list of talbles that just appeared on the left side of the phpMyAdmin window) and a bunch of data is added to them. "
    The book I am reading explains everything but how the cosmofarmer.sql file was made.

  • How do I set Tbird 31.5 to show options for using italics, boldface, etc. in composing and replying to email? Have been using Tbird for years and can't get it.

    I really have been using Tbird for years and I can't get the options for italics etc to show when composing or replying. I'm an editor looking for job so this is relevant. Please save me from Outlook. Thanks.

    I believe you can specify italics by putting a slash before and after the text, bold is done using asterisks before and after text, and underline is done using the underline character before and after text.

  • Asset Report - for useful life of an asset

    Dear Friends,
    Is there any standard report which gives the following information --
    1.  Asset Number,
    2.  Asset Name
    3.  Account Determination,
    4.  Profit Center
    5.  Useful Life,
    6.  Depreciation in the current Year
    7.  Accumulated Depreciation
    8.  Acquisition Date
    I tried in Asset Balances Reports.  Most of the fields are coming except Useful Life.
    Can any one please suggest.
    Regards
    KVKR

    Hi
    There is no report with usefullife , either you can go with query or you can extract Asset standard report where you will find most of the details you mentioned and for usefullife please use table  ANLB and extract data from this table for useful life. You may copy  your asset nos extracted by the above standard Asset report and paste that in the asset field of table ANLB.
    Now you can insert the useful life in your main report.
    cheers
    Mukta

  • Powershell script for Use this termset for site navigation in tem store management tool in central admin

    can anyone pls point out whats the power shell script for "use this  termset for site navigation" in the termstore management tool in my central  admin';s manage serv appln-->managed metadata serv appln ->term styore mgmnt tool
    i would like to check this "checked" through powershell script
    help is appreciated!

    Hi,
    To check if the term set has been set to be used for site navigation, we need to check the
    NavigationTermSet.IsNavigationTermSet property for the term set.
    Here is the code example for using PowerShell to get the setting:
    $site=Get-SPSite "your site collection URL";
    $session = Get-SPTaxonomySession -Site "your site collection URL ";
    $termStore = $session.TermStores["Managed Metadata Service"];
    $Group = $termStore.Groups[“Group Name”];
    $TermSet = $Group.TermSets[“Term Set Name”];
    $navTermSet = [Microsoft.SharePoint.Publishing.Navigation.NavigationTermSet]::GetAsResolvedByWeb($termset, $site.RootWeb, "GlobalNavigationTaxonomyProvider");
    write-host $navTermSet.IsNavigationTermSet
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • FM required for setting the message body with values from table

    Hi all,
      I have a retq wherein in tcode VL31n when i create the IBD,after saving the document,i need to send a mail to few people in the FI dept with the foll deatils:
    Inbound delivery no.
    A. Bill of Lading no.
    B. Bill of Lading date
    C. No. of containers
    D. Invoice no.
    E. Invoice date
    F. Supplier name
    G. Vessel name
    H. Name of the receiving port
    I. Final Destination,,
    J. Expected date of arrival
      The method used is SAVE_AND_PUBLISH_DOCUMENT.i get all these deatils in the table it_xlikp.But is there  any FM by means of which i cna read these  values and set the message body with these values and send this  as  a mail using the FM SO_DOCUMENT_SEND_API1?Full points will be  awarded..Any help is appreciated..
    Regards,
    Disha.

    HI Disha
    Check out these links. They will surely help
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    If you find this answer useful, please reward me for the same.
    Good luck
    Karthik Potharaju

  • I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    Close ... before going for a specific Cisco app ... lets find out some details:
    Host we need more details:
    What is your server environment (Windows Server, or Mac OS X Server, or Linux)?
    What security is implemented in your environment - as what is restricted (RDP for all or specifc credentials on all machines? Are you part of local admin group to the server you wish to connect)?
    Does your environment Support CISCO IPSec connection? If so use Settings> VPN and IPSec tab to enter VPN details, if not then go with above suggestion. IF your restricted to RSA then either built in VPN settings or 3rd party app for RSA would suffice.
    Finally, there are many RDP applications out there I use "Mocha RDP Light" (free minimal ads when launched not when connecting).

  • How to configure Time Capsule etc as a local network server with remote access server and for backups

    I'm trying to set up new 3TB Time Capsule as a wireless network server (with remote access) and for backups for use in a small office (of two Macs). We have a late 2011 Intel MBP and a brand new MBA both running 10.8.3. We have two external 1TB hard drives that until now have been attached the MBP for storage and backing up that computer, which up until now was the only machine in use. The MBA is for a new employee and we need to share and work on the same files, both here in the office and ideally remotely too via Back to my Mac. The MBP needs constant access. The MBA only occasional. The TC has 7.6.3 firmware and we've set it up using AirPort Utility 6.2. It is currently attached to the MBP via ethernet and it has internet access via a Sagemcom router attached to TC's WAN port.
    We've managed to set up a wireless network and both have wireless internet access through the TC
    But there are so many issues I don't know where to begin - so I'll start with a description of what we're trying to achieve:
    I planned to use the TC as the main server drive and place all the key folders and files there so that both of us can access them wirelessly and remotely. The MBP would back up to the TC and to one or two of the external hard drives - one being attached to the Mac via USB and the other being attached to the TC's USB port. We would back up the important data on the TC using SuperDuper and copy it to both external USB drives.
    So , first of all, is that a sensible configuration? Should the 'server' be the one of the external hard drives attached to the TC USB port, backed up regularly to the TC using SuperDuper?

    But when you say 'So using USB drive does make sense if you want to use it as a file store', do you mean a USB drive plugged into the TC? I hope that I can attach an external drive to the TC so we can all access and read/write the content wirelessly via the TC network or remotely.
    Yes, USB.. as it prevents the sparsebundle mixing with data files. I guess it does depend on how much data you are talking about.. you can use the TC internal disk if you are careful and setup the sparsebundle with fixed sizes once you create them..
    And to be clear, I wasn't planning on backing up remotely via BTMM - only to access the shared folders on the TC data drive or USB external drive attached to it. I'm assuming that's ok?
    Yes, that is fine. Sorry I got the impression you were going to do backup over internet.
    What is the alternative? Having a Mac Mini that's always on? Do I need OS X Server etc.?
    A mini would be great.. you don't need server edition.. but I would see how the TC goes.. since you have it and it is much lower power consumption device. It is just that its design is not really for file storage.
    One big problem I have is to do with the sharing permissions. For everything on the TC or attached external drive attached to it, it says I have only custom access and every time I try to change permissions it says I don't have the permission to do that. And if I try to change the owner it says my user name is not valid.
    How is the security setup on the TC?
    The security is a bit tricky.. I must admit since I run windows computer in the network, that I simply turn on the guest account to read and write access. For a business setup that might not be adequate  but it allows me full access to all the files.
    If you setup the TC with user accounts then you are in trouble. That makes it very difficult to access, especially if one person already has the file open you may find a second user cannot login. I am not sure as I have avoided the security. IMHO it is meaningless.. since anyone with physical access to the TC can press the reset for one second and has full access.. and can add or change passwords.

  • Set up dynamic, remote website on local environment for development

    I am not too experienced with dreamweaver (the extent of my knowledge is youtube tutorials and self taught).  I have inherited a website on a remote server that I need to do some major editing.  It is using MySQL, php, html, and css.  I have already downloaded the entire site for local development.  However, the php will not function without a server.  Would anyone kindly provide some resources on how to set up this site up with MAMP for local development (or any alternative ways to develop inherited websites like this)?  I know how to set up MAMP from scratch, but not with an already developed, remote website that needs to be edited/redeveloped.
    It seems like if I redirect the server to a local one, it will mess up a lot of code when I attempt to upload it back to the remote server.  There has to be a more convenient/integrated way to do this than recoding the database access every time I switch from local to remote.....

    You'll still need to pull everything onto the testing server, if it's going to be different from your remote server. Here's a good resource for using testing servers with DW...
    Setting up a local testing server in Dreamweaver CS5 | Adobe Developer Connection
    It might not match your exact version, but it should be followable for the most part.

  • How to check with table for cursor..?

    How to check with table for cursor..?
    Here I have Table temp_final_plan
    Here i want to update if already exit...below is the procedure....
    CREATE OR REPLACE PROCEDURE spu_final_profit_plan
    AS
    -- Constant declarations
      ln_errnum number := 0;
    -- Variable declarations
       ls_errmsg app_errors.err_msg%TYPE;
       ls_appmsg app_errors.app_msg%TYPE;
       ls_appid  app_errors.app_id%TYPE;
    -- Cursor declaration for final_update_el
    CURSOR cur_final_update_el IS
        select '910' ent,
               '9127316' center,
               post_acct,
               sum(avg_mtd_01) sum_avg_mtd_01,
               sum(avg_mtd_02) sum_avg_mtd_02,
               sum(avg_ytd_01) sum_avg_ytd_01,
               sum(avg_ytd_02) sum_avg_ytd_02
          from mon_act_cypy
         where rec_type = 'A'
           and sum_flag = 'D'
           and yr = '2008'
           and substr(ctr_or_hier, 1, 2) = 'el'
           and ent || sub_ent in
               (select ent || sub_ent
                  from ent_ref
                 where roll_ent || roll_sub_ent = '999100')
         group by post_acct
        having sum(avg_mtd_01) <> 0
            or sum(avg_mtd_02) <> 0
            or sum(avg_ytd_01) <> 0
            or sum(avg_ytd_02) <> 0;
    -- Cursor declaration for final_update
    CURSOR cur_final_update IS
        select b.plan_ent b_plan_ent,
               b.plan_ctr b_plan_ctr,
               a.post_acct a_post_acct,
               sum(a.avg_mtd_01) sum_avg_mtd_01,
               sum(a.avg_mtd_02) sum_avg_mtd_02,
               sum(a.avg_ytd_01) sum_ytd_mtd_01,
               sum(a.avg_ytd_02) sum_ytd_mtd_02
          from mon_act_cypy a,
               plan_unit_tbl b
         where a.ent || a.ctr_or_hier = b.ent || b.ctr_or_hier
           and a.rec_type = 'A'
           and a.sum_flag = 'D'
           and a.yr = '2008'
           and b.hier_tbl_num = '001'
           and a.ent || a.sub_ent in
               (select ent || sub_ent
                  from ent_ref
                 where roll_ent || roll_sub_ent = '999100')
         group by b.plan_ent, b.plan_ctr, a.post_acct
        having sum(a.avg_mtd_01) <> 0
            or sum(a.avg_mtd_02) <> 0
            or sum(a.avg_ytd_01) <> 0
            or sum(a.avg_ytd_02) <> 0;
    -- Begin the procedure body
       BEGIN
    -- Insert / Update final profit plan for final_update query using cursor
       FOR rec_final_update_el IN cur_final_update_el
       LOOP
       EXIT WHEN rec_final_update_el%NOTFOUND;
       IF rec_final_update_el. THEN
          UPDATE temp_final_plan
             SET sum_avg_mtd_01 = rec_final_update_el.sum_avg_mtd_01,
                 sum_avg_mtd_02 = rec_final_update_el.sum_avg_mtd_02,       
                 sum_avg_ytd_01 = rec_final_update_el.sum_avg_ytd_01,       
                 sum_avg_ytd_02 = rec_final_update_el.sum_avg_ytd_02,       
           WHERE ent = rec_final_update_el.ent
             AND center = rec_final_update_el.center
             AND post_acct = rec_final_update_el.post_acct;
       ELSE
          INSERT INTO temp_final_plan VALUES(rec_final_update_el.ent,
                                             rec_final_update_el.center,
                                             rec_final_update_el.post_acct,
                                             rec_final_update_el.sum_avg_mtd_01,
                                             rec_final_update_el.sum_avg_mtd_02,
                                             rec_final_update_el.sum_avg_ytd_01,
                                             rec_final_update_el.sum_avg_ytd_02);
       END IF;
       END LOOP;
    -- Insert / Update final profit plan for final_update query using cursor
       FOR rec_final_update IN cur_final_update
       LOOP
       EXIT WHEN rec_final_update%NOTFOUND;
       IF rec_final_update. THEN
          UPDATE temp_final_plan
             SET sum_avg_mtd_01 = rec_final_update.sum_avg_mtd_01,
                 sum_avg_mtd_02 = rec_final_update.sum_avg_mtd_02,       
                 sum_avg_ytd_01 = rec_final_update.sum_avg_ytd_01,       
                 sum_avg_ytd_02 = rec_final_update.sum_avg_ytd_02,       
           WHERE ent = rec_final_update.b_plan_ent
             AND center = rec_final_update.b_plan_ctr
             AND post_acct = rec_final_update.a_post_acct;
       ELSE
          INSERT INTO temp_final_plan VALUES(rec_final_update.b_plan_ent,
                                             rec_final_update.b_plan_ctr,
                                             rec_final_update.a_post_acct,
                                             rec_final_update.sum_avg_mtd_01,
                                             rec_final_update.sum_avg_mtd_02,
                                             rec_final_update.sum_avg_ytd_01,
                                             rec_final_update.sum_avg_ytd_02);
       END IF;
       END LOOP;
    -- EXCEPTION handling section
       EXCEPTION
    -- Fire OTHERS Exception case by default
       WHEN OTHERS THEN
    -- ROLL BACK Transaction, if any failure
       ROLLBACK;
       ln_errnum := SQLCODE;
       ls_errmsg := SUBSTR(SQLERRM, 1, 100);
    -- Log the ERRORS into APP_ERRORS table using SPU_LOG_ERRORS procedure
       spu_log_errors(ln_errnum, ls_errmsg, ls_appid, ls_appmsg);
    -- End of the stored procedure
    END spu_final_profit_plan;
    [\pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I'm not sure what you mean by, 'How to check with table for cursor..?' but I'll offer a comment on your Code Snippet. I think you want to know how to check if a record exists so you know if you need to perform an INSERT or an UPDATE.
    Here is a snippet of your code. I'll put my comments in "Comment" style in your code.
    -- Insert / Update final profit plan for final_update query using cursor
       FOR rec_final_update_el IN cur_final_update_el
       LOOP
    /* There is no need to test for %NOTFOUND since you are using Cursor FOR Loop! 
    ** This construct automatically exits when the last record is processed. */
       EXIT WHEN rec_final_update_el%NOTFOUND;
    /* Is this where you would like to know how to Check if the record already exist??
    ** I asked this because, 'rec_final_update_el.' is not valid syntax.  Are you looking for
    ** an Cursor Attribute or Method you can check here? 
    ** I would suggest a Primary Key or Unique Index on ENT, CENTER, and POST_ACCT
    ** on the TEMP_FINAL_PLAN table. Then simply perform an INSERT and code an
    ** Exception to UPDATE when you get a DUP_VAL_ON_INDEX exception.  Otherwise,
    ** you will need to simply run an Implicit or Explicit Cursor to test if the row exists and
    ** use this return value to determine if you should INSERT or UPDATE.  */
       IF rec_final_update_el. THEN
          UPDATE temp_final_plan
             SET sum_avg_mtd_01 = rec_final_update_el.sum_avg_mtd_01,
                 sum_avg_mtd_02 = rec_final_update_el.sum_avg_mtd_02,       
                 sum_avg_ytd_01 = rec_final_update_el.sum_avg_ytd_01,       
                 sum_avg_ytd_02 = rec_final_update_el.sum_avg_ytd_02,       
           WHERE ent = rec_final_update_el.ent
             AND center = rec_final_update_el.center
             AND post_acct = rec_final_update_el.post_acct;
       ELSE
          INSERT INTO temp_final_plan VALUES(rec_final_update_el.ent,
                                             rec_final_update_el.center,
                                             rec_final_update_el.post_acct,
                                             rec_final_update_el.sum_avg_mtd_01,
                                             rec_final_update_el.sum_avg_mtd_02,
                                             rec_final_update_el.sum_avg_ytd_01,
                                             rec_final_update_el.sum_avg_ytd_02);
       END IF;
       END LOOP;I hope I've answered your question, but if I haven't please provide more details so we can better understand your request.
    Craig...

  • Got new ATV and all set up. It keeps loosing connection with iTunes on laptop and have tried everything suggested in set up guide. It works fine for a while then the iTunes account vanishes from 'computer' menu TV screen.  Full Wifi signal on both devices

    Got new ATV and all set up. It keeps loosing connection with iTunes on laptop and have tried everything suggested in set up guide. It works fine for a while then the iTunes account vanishes from 'computer' menu TV screen.  Full Wifi signal on both devices so can't think what could be causing it to happen. Any suggestions please?

    Sorry, I updated another thread I was a part of but didn't update my own thread.....ughhh!
    I updated all of my ATV 2's and 3's to the latest firmware when it was released and have been problem free since. I do believe the major issue of not being able to connect after a period of inactivity has been corrected with the latest ATV firmware.
    I can look at my network connection table using "netstat -an" in a CMD window and I do not see the massive number of connections I saw before the update.
    Here is a link to the other thread I was referring to above:
    https://discussions.apple.com/message/19952545#19952545
    Have you applied the latest firmware updates to your ATV 3's?

  • Value Set whose Data come from customize table with distinct record

    Dear All,
    I am new in Oracle EBS, currently i am creating value set whose data come from customize table which have 40 duplicate record in which distinct column return 27 record .
    Table XX_ROUND_SET
    Columns (Transactions_id,set_record)
    Total Record (40)
    Distinct Record (Set_Record --> 27)
    I just want to show only 27 record in it.
    Thanks
    Rehan

    Hi Rehan,
    PL.IGNORE MY EARLIER UPDATE AND TREAT THIS UPDATE AS YOUR SOLUTION.
    Method 1
    Create the VIEW based on DISTINCT values; use the VIEW for creates the VALUESET.
    Method 2
    Paste the QUERY in TABLE field with alias name, and give the column name (with alias name).
    (in your case )
    TABLE NAME : ( select distinct transactions_id, set_record from XX_ROUND_SET ) Y
    VALUE : Y.transactions_id
    HTH
    Sanjay

Maybe you are looking for

  • What parameters should I use for a dunning letter in Crystal Reports?

    Hello I have created a dunning letter in Crystal Reports. I want to import this layout as a layout (not a report) in Business One. The problem is that I don't know the parameters in the report so I can import the layout between the standard PLD layou

  • How to turn off "...Similar Documents" Feature in SES Search Results

    Hello, We are running 10.1.8.4 and have several database data sources configured. We would like to turn off the "Similar Documents" feature in the SES out-of-the-box search results. It appears to be grouping the results via the required CONTENT colum

  • Displaytag to export the only data not the url

    I am using displaytag to export the data but my data is coming like but I only want the data to export For example I want the only data not the url should be like: 78190 My code is as below: :<display:table name="bulkDetails" export="true" pagesize="

  • Filling out forms in acrobat 7.0

    i have downloaded a form that i would like to fill in before i print it out but i cant seem to do that. is there some way i can do this?

  • Office 2007 Inbox repair tool for Outlook

    Running Office 2007 Windows 7 64bit received this error but program wont open for me to follow its suggestion.   "Can not open errors have been detected close and then use the inbox repair tool scanpst.exe"Warrior57