PL SQL cursor is not over.

Hello

Here is the code for my procedure

CREATE OR REPLACE PROCEDURE DEV_CREATE_CONTRACT
IS
   CURSOR C_CONTRACT
   IS
    select emp_no, person_id, contract_start, contract_end ,
    round((contract_end - contract_start)/365)duration,  'Y' Duration_units,
    employee_salary,'SPECIFIED_PERIOD' type,'C-COMPLETED' status , EMP_NO||' - '||CON_SEQNO REFERENCE
    from emp_con_type a,per_people_f b
    where to_char(a.emp_no) =b.employee_number
    and sysdate between effective_start_date and effective_end_date
    and emp_no not in 
(
'124744491',
'1223816',
'938201',
'1082809',
'1092607',
'867712'
);
   LC_C_CONTRACT             C_CONTRACT%ROWTYPE;
   L_CONTRACT_ID             NUMBER;
   --L_EFFECTIVE_START_DATE    DATE;
   --L_EFFECTIVE_END_DATE      DATE;
   L_OBJECT_VERSION_NUMBER   NUMBER;
   ERROR_DESC                VARCHAR2 (240);
   --LV_CONTRACT_FLAG          CHAR (1);
 --  L_SEQ                     VARCHAR2 (20);
   eff_date                 date;
BEGIN
   OPEN C_CONTRACT;
   LOOP
      FETCH C_CONTRACT
       INTO LC_C_CONTRACT;
      EXIT WHEN C_CONTRACT%NOTFOUND;
      BEGIN
      select effective_start_date into eff_date 
      from per_assignments_f
      where person_id =lc_c_contract.person_id;
         HR_CONTRACT_API.CREATE_CONTRACT
                          (P_VALIDATE                   => FALSE,
                           P_EFFECTIVE_DATE             => eff_date,
                           P_PERSON_ID                  => LC_C_CONTRACT.PERSON_ID,
                           P_REFERENCE                  => seq_per_contracts.nextval,
                           P_TYPE                       => LC_C_CONTRACT.TYPE,
                           P_STATUS                     => LC_C_CONTRACT.STATUS,
                           P_DURATION                   => LC_C_CONTRACT.DURATION,
                           P_DURATION_UNITS             => LC_C_CONTRACT.DURATION_UNITS,
                           P_CONTRACT_ID                => L_CONTRACT_ID,
                           P_EFFECTIVE_START_DATE       => LC_C_CONTRACT.contract_start,
                           P_EFFECTIVE_END_DATE         => LC_C_CONTRACT.contract_end,
                           P_OBJECT_VERSION_NUMBER      => L_OBJECT_VERSION_NUMBER
                          );
        rollback;
--        DBMS_OUTPUT.PUT_LINE ('CONTRACT ID    : ' || L_CONTRACT_ID);
        UPDATE emp_con_type  SET ERR_DESC =L_CONTRACT_ID
        WHERE  EMP_NO=LC_C_CONTRACT.emp_no;
        commit;
      /*EXCEPTION
         WHEN OTHERS
         THEN      
            DBMS_OUTPUT.PUT_LINE (SQLERRM);*/
   --    COMMIT;      
      /*L_CONTRACT_ID := '';
      L_OBJECT_VERSION_NUMBER := '';
      L_EFFECTIVE_START_DATE := '';
      L_EFFECTIVE_END_DATE := '';
      ERROR_DESC := '';
      LV_CONTRACT_FLAG := '';*/
      EXCEPTION
         WHEN OTHERS
         THEN          
            ERROR_DESC := ERROR_DESC || SQLERRM;
            --            UPDATE DEV_CONTRACT
            --               SET JOB_ERROR_DESCRIPTION = ERROR_DESC,
            --                   JOB_PROCESS_FLAG = LV_CONTRACT_FLAG
            --             WHERE LINE_ID = LC_C_CONTRACT.LINE_ID;
            --DBMS_OUTPUT.PUT_LINE (SQLERRM);
      END;    
         END LOOP;
   CLOSE C_CONTRACT;
EXCEPTION
   WHEN OTHERS
   THEN
   null;
      --DBMS_OUTPUT.PUT_LINE (SQLERRM);
END;
/

The SQL statement for the cursor returns, lines of 1224, but only 154 lines are updated in the table that is updated in the LOOP. I don't know what could be the reason... This loop should be executed 1224 times but its executed only 154 times...

No idea what could be the reason?

> No idea what could be the reason?

WHEN other hides the failure.

remove, remove & eliminate all code exception

Why why check these links.

http://tkyte.blogspot.com/2007/03/dreaded-others-then-null-strikes-again.html

http://tkyte.blogspot.com/2008/01/why-do-people-do-this.html

http://tkyte.blogspot.com/2007/03/challenge.html

Tags: Database

Similar Questions

  • Re: Mouse cursor jumps all over the documents on Satellite

    Bought my Satellite in August 08. Cursor jumps all over the document, a spreadsheet, or a text document.
    I saw messages that the problem existed on Toshibas in 2002!

    How to solve this problem?
    How can this company having the same problem since 65 years?
    I would not buy another Toshiba.

    Help.

    > How this company may have the same problem since 65 years?
    Nice and funny statement. Really funny. I don't me remember more that this computer has developed there is 65years :D

    First of all, it would be really useful if post you a few details on your OS and your laptop model

    Secondly, I have read similar questions might appear if you accidentally touch the surface of the touchpad while typing. That is why it s advisable to disable the touch pad using the FN + F9 key and to check if this problem still persists.

    Last but not Lea check if you are using the latest version of the BIOS. If this isn't the case, then update it!

    Good bye

  • Can I change the icon of the cursor when hover over one active link with another?

    Can I change the icon of the cursor when hover over one active link with another?

    Muse does not natively support, but all you need to do to make it work is on your page, add properties in the head content:

    Where "value" is the cursor you want for example for a cross-shaped cursor...

  • Same mistake again - ORA-06511: PL/SQL: cursor already opened

    Hello

    Even if I close the cursor, I get the following error "ORA-06511-6511: PL/SQL: cursor already opened. Please can you give your suggestion.

    CUR CURSOR IS
    JULIE name FROM test;

    BEGIN

    IF heart % ISOPEN THEN
    CLOSE cur
    END IF;

    Heart OPEN;

    FOR my heart IN cuv
    LOOP
    -sql statements
    END LOOP;

    END;

    Published by: AravindhK on December 6, 2011 13:56

    Do not open cursors when you write

    For  in 
    loop
    
    SQL> Declare
    CURSOR cur IS
    SELECT 1 A FROM dual;
    BEGIN
    IF cur%ISOPEN THEN
    CLOSE cur;
    END IF;
    --OPEN cur;
    DBMS_OUTPUT.PUT_LINE('Cursor opened by for');
    FOR cuv IN cur
    LOOP
    DBMS_OUTPUT.PUT_LINE(cuv.A);
    END LOOP;
    END;
    
    Cursor opened by for
    1
    
    PL/SQL procedure successfully completed.
    
  • Parsing sql - cursor parent and child

    Hi all

    What is the parent and child when parsing sql cursor?

    Thank you

    John

    Well, as Anand mentioned you could yourself. Here's a demo of the workaround based. Based on the change of environment, the sliders would be created and will not be shared that I made using the change of parameter of optimizer_mode. This is done in 11201 with the setting optimizer_features_enable on 10201.

    SQL> drop table t purge;
    
    Table dropped.
    
    SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%';
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    select * from t
    
    SQL> alter system flush shared_pool;
    
    System altered.
    
    SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%';
    
    no rows selected
    
    SQL> save a
    Created file a.sql
    SQL> select * from t;
    select * from t
                  *
    ERROR at line 1:
    ORA-00942: table or view does not exist
    
    SQL> create table t(a char);
    
    Table created.
    
    SQL> select * from t;
    
    no rows selected
    
    SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%';
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    select * from t
    
    SQL> select * from T;
    
    no rows selected
    
    SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%';
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    select * from t
    
    SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%';
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    select * from t
    select * from T
    
    SQL> select sql_text,version_count, executions from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%';
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    VERSION_COUNT EXECUTIONS
    ------------- ----------
    select * from t
                1          1
    
    select * from T
                1          1
    
    SQL> column sql_text format a40
    SQL> /
    
    SQL_TEXT                                 VERSION_COUNT EXECUTIONS
    ---------------------------------------- ------------- ----------
    select * from t                                      1          1
    select * from T                                      1          1
    
    SQL> select * from T;
    
    no rows selected
    
    SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%';
    
    SQL_TEXT
    ----------------------------------------
    select * from t
    select * from T
    
    SQL> select sql_text,version_count, executions from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%';
    
    SQL_TEXT                                 VERSION_COUNT EXECUTIONS
    ---------------------------------------- ------------- ----------
    select * from t                                      1          1
    select * from T                                      1          2
    
    SQL> alter session set optimizer_mode=first_rows;
    
    Session altered.
    
    SQL> select * from T;
    
    no rows selected
    
    SQL> select * from t;
    
    no rows selected
    
    SQL> select sql_text,version_count, executions from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%';
    
    SQL_TEXT                                 VERSION_COUNT EXECUTIONS
    ---------------------------------------- ------------- ----------
    select * from t                                      1          1
    select * from test_sharing where id=:a               1          3
    select * from test_sharing where id=1                1          0
    select * from test_sharing where id=99               1          0
    select * from T                                      2          3
    
    SQL> select sql_text, child_number, optimizer_mode, plan_hash_value from V$sql where sql_text like 'select * from t%' or sql_text like 'select * fro
    
    SQL_TEXT                                 CHILD_NUMBER OPTIMIZER_ PLAN_HASH_VALUE
    ---------------------------------------- ------------ ---------- ---------------
    select * from t                                     0 FIRST_ROWS      1601196873
    select * from test_sharing where id=:a              0 ALL_ROWS        3492249339
    select * from test_sharing where id=1               0 ALL_ROWS        3492249339
    select * from test_sharing where id=99              0 ALL_ROWS        2354865636
    select * from T                                     0 ALL_ROWS        1601196873
    select * from T                                     1 FIRST_ROWS      1601196873
    
    6 rows selected.
    
    SQL> alter session set optimizer_mode=first_rows_1;
    
    Session altered.
    
    SQL> select * from t;
    
    no rows selected
    
    SQL> select * from T;
    
    no rows selected
    
    SQL> select sql_text, child_number, optimizer_mode, plan_hash_value from V$sql where sql_text like 'select * from t%' or sql_text like 'select * fro
    
    SQL_TEXT                                 CHILD_NUMBER OPTIMIZER_ PLAN_HASH_VALUE
    ---------------------------------------- ------------ ---------- ---------------
    select * from t                                     0 FIRST_ROWS      1601196873
    select * from test_sharing where id=:a              0 ALL_ROWS        3492249339
    select * from test_sharing where id=1               0 ALL_ROWS        3492249339
    select * from test_sharing where id=99              0 ALL_ROWS        2354865636
    select * from T                                     0 ALL_ROWS        1601196873
    select * from T                                     1 FIRST_ROWS      1601196873
    
    6 rows selected.
    
    SQL> alter session set sql_trace=true;
    
    Session altered.
    
    SQL> alter session set optimizer_mode=first_rows_1;
    
    Session altered.
    
    SQL> select * from t;
    
    no rows selected
    
    SQL> select * from T;
    
    no rows selected
    
    SQL> select sql_text,version_count, executions from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%';
    
    SQL_TEXT                                 VERSION_COUNT EXECUTIONS
    ---------------------------------------- ------------- ----------
    select * from t                                      2          3
    select * from test_sharing where id=:a               1          3
    select * from test_sharing where id=1                1          0
    select * from test_sharing where id=99               1          0
    select * from T                                      3          5
    
    SQL> select sql_text, child_number, optimizer_mode, plan_hash_value from V$sql where sql_text like 'select * from t%' or sql_text like 'select * fro
    
    SQL_TEXT                                 CHILD_NUMBER OPTIMIZER_ PLAN_HASH_VALUE
    ---------------------------------------- ------------ ---------- ---------------
    select * from t                                     0 FIRST_ROWS      1601196873
    select * from t                                     1 FIRST_ROWS      1601196873
    select * from test_sharing where id=:a              0 ALL_ROWS        3492249339
    select * from test_sharing where id=1               0 ALL_ROWS        3492249339
    select * from test_sharing where id=99              0 ALL_ROWS        2354865636
    select * from T                                     0 ALL_ROWS        1601196873
    select * from T                                     1 FIRST_ROWS      1601196873
    select * from T                                     2 FIRST_ROWS      1601196873
    
    8 rows selected.
    
    SQL> select sql_id,sql_text, child_number, optimizer_mode, plan_hash_value from V$sql where sql_text like 'select * from t%' or sql_text like 'selec
    
    SQL_ID        SQL_TEXT                                 CHILD_NUMBER OPTIMIZER_
    ------------- ---------------------------------------- ------------ ----------
    PLAN_HASH_VALUE
    ---------------
    89km4qj1thh13 select * from t                                     0 FIRST_ROWS
         1601196873
    
    89km4qj1thh13 select * from t                                     1 FIRST_ROWS
         1601196873
    
    7gbgb5nzcdcf3 select * from test_sharing where id=:a              0 ALL_ROWS
         3492249339
    
    SQL_ID        SQL_TEXT                                 CHILD_NUMBER OPTIMIZER_
    ------------- ---------------------------------------- ------------ ----------
    PLAN_HASH_VALUE
    ---------------
    0890tcnrf5jsv select * from test_sharing where id=1               0 ALL_ROWS
         3492249339
    
    7hg3cujy0ya0r select * from test_sharing where id=99              0 ALL_ROWS
         2354865636
    
    ahgbnyrbh7bp1 select * from T                                     0 ALL_ROWS
         1601196873
    
    SQL_ID        SQL_TEXT                                 CHILD_NUMBER OPTIMIZER_
    ------------- ---------------------------------------- ------------ ----------
    PLAN_HASH_VALUE
    ---------------
    ahgbnyrbh7bp1 select * from T                                     1 FIRST_ROWS
         1601196873
    
    ahgbnyrbh7bp1 select * from T                                     2 FIRST_ROWS
         1601196873
    
    8 rows selected.
    
    SQL> set pagesize 9999
    SQL> /
    
    SQL_ID        SQL_TEXT                                 CHILD_NUMBER OPTIMIZER_
    ------------- ---------------------------------------- ------------ ----------
    PLAN_HASH_VALUE
    ---------------
    89km4qj1thh13 select * from t                                     0 FIRST_ROWS
         1601196873
    
    89km4qj1thh13 select * from t                                     1 FIRST_ROWS
         1601196873
    
    7gbgb5nzcdcf3 select * from test_sharing where id=:a              0 ALL_ROWS
         3492249339
    
    0890tcnrf5jsv select * from test_sharing where id=1               0 ALL_ROWS
         3492249339
    
    7hg3cujy0ya0r select * from test_sharing where id=99              0 ALL_ROWS
         2354865636
    
    ahgbnyrbh7bp1 select * from T                                     0 ALL_ROWS
         1601196873
    
    ahgbnyrbh7bp1 select * from T                                     1 FIRST_ROWS
         1601196873
    
    ahgbnyrbh7bp1 select * from T                                     2 FIRST_ROWS
         1601196873
    
    8 rows selected.
    
    SQL> set linesize 200
    SQL> /
    
    SQL_ID        SQL_TEXT                                 CHILD_NUMBER OPTIMIZER_ PLAN_HASH_VALUE
    ------------- ---------------------------------------- ------------ ---------- ---------------
    89km4qj1thh13 select * from t                                     0 FIRST_ROWS      1601196873
    89km4qj1thh13 select * from t                                     1 FIRST_ROWS      1601196873
    7gbgb5nzcdcf3 select * from test_sharing where id=:a              0 ALL_ROWS        3492249339
    0890tcnrf5jsv select * from test_sharing where id=1               0 ALL_ROWS        3492249339
    7hg3cujy0ya0r select * from test_sharing where id=99              0 ALL_ROWS        2354865636
    ahgbnyrbh7bp1 select * from T                                     0 ALL_ROWS        1601196873
    ahgbnyrbh7bp1 select * from T                                     1 FIRST_ROWS      1601196873
    ahgbnyrbh7bp1 select * from T                                     2 FIRST_ROWS      1601196873
    
    8 rows selected.
    
    SQL> select child_number, child_address, stats_row_mismatch, optimizer_mode_mismatch
      2  from v$sql_shared_cursor where sql_id='ahgbnyrbh7bp1';
    
    CHILD_NUMBER CHILD_AD S O
    ------------ -------- - -
               0 1A610050 N N
               1 1F148DA4 N Y
               2 1A630C90 Y N
    
    SQL>
    

    You can see an inconsistency in the optimizer_mode resulting in another creation of child cursor. You can try to use the parameter cursor_sharing similar value and bind variables that would also cause child several sliders to create. For the view V$ sql_shared_cursor, check the docs.

    HTH
    Aman...

    PS: Please don't bump up to the thread. This is not support so people are not forced to update immediately. All are volunteers so assume that they would update the thread as and when they have / get time to do.

  • Cursor does not change when you move the link to context menu

    I created a text for a context menu link. The link works, but the cursor does not change from a pointed finger, the standard link icon.

    I don't know much JavaScript, but can understand it if it's just adding the code. This has been done in CS3. Any help would be appreciated! Here is the code:

    function MM_openBrWindow (theURL, winName, features) {//v2.0
    Window.Open (Theurl, winName, Features);
    }

    Thanks in advance.

    Todd

    A link would be nice, but I suspect you aren't gettign the finger (you know what I mean) when you hover over the link as your href is not defined on anything whatsoever.

    
    

    Set your href on ' # ' or ' javascript:; -the latter is preferred.

  • The mouse cursor is not where is the entrance?

    In the text boxes in websites like Codecademy my cursor is not here where I give input keyboard!

    Is this a new issue after upgrading Windows 10?

    40 Firefox, scheduled to be released soon, will contain several fixes compatibility for Windows 10, so I hope it helps if there is no other explanation or fix for Firefox 39.

  • Since the update to vn 7.0, my cursor is not active on the top of the page several lines of a Web page. Microsoft quotes compaibility trouble, help please

    For example, at the top of this page, the cursor is not active during the disconnection, inbox etc on the top line. Even on web pages

    The top of the Firefox window is unresponsive, inadmissible toolbars - see also the problematic extensions

  • Want to F9M09UA #ABA: cursor will not appear on the browser

    My cursor will not appear when the browser window. I tried to restart, stop, update and everything I could find on the internet, but nothing has worked.

    Hello @hcl14,

    Thank you for visiting the Forums from the HP Support! The forums are a great place where you can find solutions for your problems, with the help of the community!

    I stumbled upon your post on the issue of cursor and wanted to help!

    How long have you had this problem?  Did you recently install updates?  This will happen in any internet browser, or just a particular browser?  Have you tried to perform a System Restore, to define the notebook to its previous working state?  Forward to your response.

    Please let me know if this information helps you solve the problem by marking this message as 'accept as Solution', this will help others easily find the information they seek.  In addition, by clicking on the Thumbs up below is a great way to say thank you!

    Have a great day!

  • My cursor does not work in Blogger using the Safari browser.

    My cursor does not work in Blogger using the Safari browser. I am able to type, but the cursor seems to disappear when I'm in blogger.  It is difficult to navigate if you do not see where is the curse. I used all the other browsers, and this does not happen with them.  In the Blogger help forum other people experiencing the same thing.  He has been as well as a few weeks and I can not say definitively if it coincides with the updates to the OS. Any help would be appreciated.

    I have the same question too! Is there any ideas on how to solve this problem? So frustrating when you can't even say where you are on the page

  • Cursor will not correctly display on my H243H monitor

    When I connect my H243H monitor to my laptop (running Windows 7 Edition Home Premium - 64-bit), the cursor will not display on the monitor correctly.  I either get no cursor visible at all or I get a small rectangular grey box.  All solutions?  I went to check the monitor driver, but Acer demonstrated only a 32-bit driver available.  This could be the problem and is it possible around it?  Thanks in advance for your suggestions.

    You have another computer, you can test it? I guess it's a setting on the computer, because the only problem seems to be the cursor. There are some settings that you can change and solutions, you can try the link below.

    http://superuser.com/questions/590569/broken-mouse-cursor-on-main-monitor-Windows-7-64-bit-ATI-Radeo...

  • Cursor may not click on anything whatsoever

    Original title: slider

    I don't know the technical language. I'm having a problem with the cursor. Normally the arrow cursor changes to a form of hand when we need to click somewhere, for example "log" in a site. but my cursor remains in the form of arrow, and nothing happens when I click on a place that I have to. like, I can't sign my email once I connect because the cursor does not change its form. someone can help me.

    Hi aman74,

    1. did you of recent changes on the computer?

    2 does the problem only occur when access to links?

    3. What is the serial number and model of the mouse?

    4. what web browser do you use?

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you configure the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    1. Click Start , and then click run.
    2. Type msconfig , and then click OK.
      The System Configuration utility dialog box appears.
    3. Click the general tab, click Normal Startup - load all device drivers and services , and then click OK.
    4. When you are prompted, click restart to restart the computer.

    If you use web browser internet explorer, then the article below and check if it helps.

    How to optimize Internet Explorer

    http://support.Microsoft.com/kb/936213/ro

  • Cursor does not when the computer starts.

    On my wife laptop when she started his computer cursor does not at all. How she can use the cursor without using the touchpad (because it doesn't seem to work at all)? So how do this slider to work again?

    Thank you for your help.

    Paul

    Hello

    Try the system restore before you did it again at:

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html
    ==========================================

    If necessary: (make sure that you have restarted at least once, if the above did not work)

    Panel of configuration manager devices - mouse and pointing devices - Double click on the touchpad - the driver tab-
    Click on update driver (it comes may not do anything like MS is far behind the drivers of certification), now right CLICK
    on the TouchPad and UNINSTALL.

    Then go to the USB and UNINSTALL ALL controllers except the category itself (all in). RESET

    This will refresh the driver for the TouchPad and battery USB. This does not prevent the touchpad from working.

    Here is the similar procedure under XP, Vista is the same, except that we need to clear the specific device if present.
    http://support.Microsoft.com/kb/310575

    Then go to the system manufacturer's website and get the latest touchpad drivers.

    Download - SAVE - go to where you put it-click on - RUN AS ADMIN.

    ================================================

    Parameters for TouchPad located in the control panel - mouse (there may be several tabs with TouchPad entered)
    and some come with a utility that loads in the Notification area next to the clock in the bottom right.

    The here for Toshiba only if other brands may have similar:

    If a Toshiba, they have keys that allow easy adjustment of the TouchPad. See Toshiba support and
    Forums. If the TouchPad has been disabled with map keys must be activated with them.

    Toshiba downloads - access your model.
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=download

    Toshiba forums
    http://laptopforums.Toshiba.com/

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • my window cursor is not woking

    my window cursor is not woking, I can just see the name of the icon, no icon image, tried to restore but did not work. I can get the software from somewhere.?

    Hi AppY_18,

    Thanks for posting your question in the Microsoft answers Forum. Follow the steps in this thread to restore your sidebar function.

    Let us know if that helps.

  • The mouse cursor does not appear on the center of the screen to start upward.

    The mouse cursor does not appear on the center of the screen to start upward.  If the mouse moves a mobile cursor appears in the upper left corner of the screen.  Have to keep rebooting until the mouse cursor properly supported.

    The mouse cursor does not appear on the center of the screen to start upward.  If the mouse moves a mobile cursor appears in the upper left corner of the screen.  Have to keep rebooting until the mouse cursor properly supported.

    Suggestions:

    Go to Safe Mode:

    Shut down your computer > turn it back on and immediately and repeatedly tab key F8 until you see a black and white screen. Use the up/down arrow and selectSafe Mode with command prompt.

    1. in safe mode, please do a system restore. Choose the date where you did not have this problem as your restore point.
    Start button > Search box, type system restore > press the Enter key > uac prompt > click on choose a different restore point > next > select dates as your restore point, until the click > next > finish
    To sit and wait. The machine restarts when it's done.

    2. always in safe mode, do a check of the file system. See if file check will check for corrupted files and repair them.

    Start button > Search box type cmd > look up, do a RIGHT click oncmd.exe > click onRun As Administrator > in this window cmd black and white, type at the prompt flashing sfc/scannow > press the ENTER key.
    Note: there is a space between 'sfc' and ' / '.
    To sit and wait. It will take time.
    When finished, exit the cmd window.
    Reboot (restart your computer)

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

Maybe you are looking for