DEFECT: Worksheet (sometimes) disabled on cancel of query

I write a query in a worksheet.
I run the query.
It takes too long, so I stop it by pressing the red circle button with an X in it.
The query is cancelled.
Frequently, but not always, the worksheet gets disabled after I do this.
All the worksheet buttons except for the red circle with an X in it get grayed out.
I am totally unable to change anything in that worksheet.
I have to create a new worksheet, copy the query to it, connect to the database in the new worksheet, and then close the frozen worksheet.
I can see no valid reason why a cancelled select statement should cause this to happen.

Just canceled another version of the query.
This time, I got a pop-up telling me I had cancelled the query.
When I acknowleded that, the rows that had been retrieved were shown.
This time, the worksheet works properly afterwards.
Thought this might help to track down the problem.

Similar Messages

  • Trying to cancel Discoverer query - it's taking along time to cancel ....

    Hi Everyone,
    I cancelled a query bec. it was taking a long time to run
    Now it's taking a long time to cancel
    The admin is out to lunch...
    any advice pls, thx, sandra

    Hi Sandra
    Typically the reason for canceling a query is that it has been running too long - right?
    Behind the scenes, one of two things is happening, either:
    1. The query was having a hard time finding any data and is still searching, or
    2. The query has found some data but not enough to satisfy the query governor settings
    For the latter, depending upon how much data has so far been retrieved, Discoverer has to put that data somewhere. This is called a cache. The more data you put into a cache the more has to be cleared out of it should you decide not to proceed. This is probable what happened to you.
    By the way, when you cancel a query you're generally asked a question about whether Discoverer should keep the last change but return no data. If you click Yes in reply to this question this is generally what triggers the clearing of the cache. Most of the time I just click No, even if I made a small change. I tend to get my query back quick.
    Finally, if your Discoverer worksheet is a Crosstab or it uses Page Items, or even both at the same time, this is one of the causes of a long running query. In any of these scenarios, Discoverer has buckets to compute and it has no idea how many buckets to allow for until it has read all of the data.
    In my Discoverer 10g Handbook and in my training courses I talk about The Query From The Twilight Zone. This are the queries that never or seems like never return any data and either time out or have to be stopped manually. Sometimes these runaway queries are trying to return every row of data from the database but more typically they are caused by the overcasual use of page items or Crosstabs.
    Hope this synopsis helps
    Best wishes
    Michael

  • Reasons why a query timeout would fail to cancel the query

    Let's say I am running an SQL query via JDBC and then I hit the query timeout I had set on the session. 9 times out of 10 Oracle complies and I get hit with a ORA-01013 user canceled query, as I would expect. But sometimes, it seems the database just doesn't abide by my request. Is that possible? I know it's a "request", so is it truly a request and not a demand? :) Can the database choose to not obey the request or could it be in some state where it cannot comply even if it wanted to?

    Oracle Enterprise Edition 10.2.0.3.0. The application is my application, a Java application that uses Hibernate sessions to communicate with the database in read only mode. I have a query timeout set on the Query object for a particular query. On my instance (Oracle 11g) i never see the occurrence. Oracle always cancels the query with an ORA-01013 right at exactly the 3 minute timeout. On their Oracle 10 instance, we see examples of the query surviving the cancel request and running as long as 10 minutes.

  • Disable/Hide  'Cancel Requisition' option in PO Summary

    Hi Experts/Gurus,
    We have Oracle EBS  R12.1.3.
    We want to disable/Hide 'Cancel Requisition' option from PO Summary Form.
    Navigation Path : Purchasing Responsibility > PO Summary > Query with PO > Tools (M) > Control > Cancel Requisition.
    Anyone can help me in this case ?
    Regards & Thanks in advance
    Sanjay

    How To Remove / Disable Cancel Functionality In Enter Purchase Order and Purchase Order Summary Forms (Doc ID 1316584.1)

  • Conditionally disabling record updation after query

    Dear members
    I've a single record block and I wanna conditionaly disable records updation after query has fetched data. Problem is that if I disable the record updation in Post-Query trigger then it checks the condition for the very first fetched record and it the condition is true, then Updation is disabled for all the fetched records, even if the next records dont meet the condition. I'm using forms-10g. Can u give a better solution??? thanx.

    you have to use SET_ITEM_INSTANCE_PROPERTY to modify only one record:
    BEGIN
        IF ... <your_condition> THEN
            SET_ITEM_INSTANCE_PROPERTY('YOUR_BLOCK.YOUR_ITEM1', UPDATE_ALLOWED, PROPERTY_FALSE);
        ELSE
            SET_ITEM_INSTANCE_PROPERTY('YOUR_BLOCK.YOUR_ITEM1', UPDATE_ALLOWED, PROPERTY_TRUE);
        END IF;
    END;

  • How to disable the cancel button in the ProgressMonitor

    hi,
    I need to know, is there any way to disable/remove the (cancel)button in the ProgressMonitor?
    One more problem is,
    Once i click the cancel button, isCanceled() return true, how to make it false again so that the process continue....
    It is very urgently.....
    please help me out.
    Thanks in advance.
    Regards,
    Deepa Raghuraman

    I don't think that's a good solution, because Cancel button itself is not disabled, so user is tempted to click it and nothing happens.
    A better but dangerous solution is this:
    progressMonitor = new ProgressMonitor(ProgressMonitorDemo.this,
                                         "Running a Long Task",
                                         "", 0, 100);
    progressMonitor.setMillisToDecideToPopup(0);
    progressMonitor.setMillisToPopup(0);
    progressMonitor.setProgress(0);
    JDialog dialog = (JDialog)progressMonitor.getAccessibleContext().getAccessibleParent();
    JOptionPane pane = (JOptionPane)dialog.getContentPane().getComponent(0);
    pane.setOptions(new Object[]{});Refer to the same question here [http://stackoverflow.com/questions/512151/how-do-i-disable-the-cancel-button-when-using-javax-swing-progressmonitor] .

  • How to disable the cancel button in InputDialogBox?

    Can someone please tell me how to disable the cancel button in an input dialog box?
    thanks,

    Cross posted: [http://www.coderanch.com/t/487888/Swing-AWT-SWT-JFace/java/disable-cancel-button-input-dialog]

  • How to hide/disable option "Export In Query Ready Mode" in HTML FR reports (workspace)version 11.1.1.3

    Hi all,
    is there a way to hide or disable the option "Export In Query Ready Mode" for HTML FR reports (workspace) version 11.1.1.3.
    Thanks in advance!
    Regards
    Tej.

    Hi Tej,
    The feature, "to hide or disable the option "Export In Query Ready Mode"  has been introduced in Financial Reporting 11.1.2.3.
        Logon to EPM Workspace.
        Open menu File > Preferences > Financial Reporting.
        The new option, called "Disabled" is available for Query Ready Mode. If selected will disable Query Ready mode completely.
    Thanks,
    Krish

  • Cancel a Query

    Hi
    Forms 10gR2. Default forms query behaviour is to stay in ENTER_QUERY mode when a query retrieves no records.
    How do I "Cancel" that query or return back to normal mode?
    thanks in advance.

    Use Alt+F4 or Ctrl+Q to exit the enter-query-mode.
    If you want to do it each time, when your execute_query didn't return values, then you can code an exit_form in your on-error or on-message, where you can filter the message, which forms shows you ("Query returned no rows")

  • Disable selection parameter in Query

    Hi,
    I would like to disable selection parameter in query.
    I add below coding in SQ02 "at selection-screen output" but it cannot work. Any solution besides use variant to disable it?
    loop at screen.
      if screen-name = 'pa_date'.
        screen-input = '0'.
        modify screen.
      endif.
    endloop.
    Thanks.

    Hello Winnie,
       Yes you can. Try this one:
    <><><><><><><><><><><><><><><><><><><><><><><><><><><>
    Parameters: aram1  like mara-matnr.
    AT SELECTION-SCREEN OUTPUT.
      loop at screen.
        if screen-name eq 'PARAM1'.
          screen-input = 0.
          modify screen.
        endif.
      endloop.
    <><><><><><><><><><><><><><><><><><><><><><><><><><><>
    Happy coding!

  • Cancel ENTER-QUERY

    Hello! I am in ENTER-QUERY mode and I want to Cancel a query pressing a button from a menu that has an option Cancel-query with following code:
    IF name_in('System.Mode') = 'ENTER-QUERY' THEN
         exit_form(NO_VALIDATE);
    end if;
    But when I press the menu the FORM exits. what could it be happening ?
    Thank you in advance.

    Sorry, I realize ...
    when exit_form(NO_VALIDATE) is executed, the trigger KEY-EXIT is firing and I did not know this.

  • How to cancel a query when execute query builtin fire and No Records found.

    Hi,
    I am unable to cancel a query when i make query (fire enter-query) then fire (execute-query) and no records found then the form status is enter-query mode. Plz help me that how can i back to normal mode of form.
    here i use the code for coming back to enter-query to normal mode but no results.
         if :system.mode = 'ENTER-QUERY' THEN
    ABORT_QUERY;
         clear_form;          
         END IF;
    thanks in advance....

    Hello,
    I would test the record status of the first record in the block. If this status is 'NEW', then there is no record retrieved, so that you can exit the query mode with exit_form()
    Francois

  • Can't do anything to table- data tab after cancelling initial query

    When I select a table and go to "Data" tab, sqldeveloper executes initial query to fetch first 50 rows. While it does so, "refresh", "add" etc. icons, and "Sort..." button are blocked. The problem is, if I cancel that initial query, icons and buttons STAY grayed-out, so I can't refresh the table. Pressing enter on "filter:" field also doesn't work. The only way to restore functionality is close the tab and open it again.
    Steps to reproduce:
    1) Open a large table
    2) Filter it with some query
    3) Sort results
    4) Close the tab
    5) Open the table again. "Sort" settings persist, so SQLDeveloper starts running a very long query
    6) Press "Cancel Query" in the appearing box
    Canceling the query somehow resets persisted Sort settings, so it works fine next time I open the table.

    Can't reproduce it,Is there any setting
    Umm, I'm not exactly sure what do you mean by that. I don't remember modifying anything in the preferences for persisted settings (like sorting order or hidden columns). In fact, I'm pretty sure there is no such settings in preferences.
    As for reproducing the bug, may I ask you which step fails, exactly? Do sort settings reset when you open the table again? Or does the query executes instantly? Oracle sorts table too fast if it's under 1 000 000 rows, and it becomes visible on 8 000 000+ rows table.

  • Query disable status in bex query designer

    hi all,
    when i opened query in query designer for PA_PA cube it is in disabled mode.iam unabled to restrict or do any changes.and giving error like "the dependent objects are in different transport orders."i installed this particular queries in BI content also.please help me in this issue.
    Regards
    Vamshi D Krishna

    Hi Vamshi,
    go to rsa1 - transport connection and select  ur query and drag & drop into third screen
    u can see the locked request no. of ur query ..
    u can take that no. and go to se03 -- give that request no. & execute unlock..
    now, again come back to ur transport connection, now u can see under ur query no transport request has been assigned.. select the truck symbol..
    It will ask u for the new request no. assign a new request no. of urs and check the query at the designer level. u can able to change the query ..
    Hope it helps.
    If u have any doubt reply to this message.
    Thanks & Regards,
    V. Vijay Kumar.

  • How can I cancel a query?

    If a query run too long time,I need to cancel it.However, even if I force user logout,the query is still runing.How can I do?

    Depending on the version of Essbase you are running, you may need to kill the Essbase application process. If you have a more recent version (I think it was 6.2) you can kill processes running on the server via Application Manger.Hope that helps.Regards,Jade----------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

Maybe you are looking for

  • Retrieving iTunes library after hard drive dies.

    Here is my dilemma. My external hard drive that containes my entire itunes library of over 17,000 songs just died. First, what is the best way to reassign my iTunes library back to my computer instead of the now-dead external hard drive? I have an iP

  • Using utl_file and unix pipes

    Hi, I'm trying to use utl_file and unix pipes to communicate with a unix process. Basically I want the unix process to read off one pipe and give me back the result on a different pipe. In the example below the unix process is a dummy one just copyin

  • Non-embeddable fonts and UTF-16

    Our software allows the user to create text items, and choose a font for them. The text may include any Unicode character (including those from the supplementary planes with code points greater than 216), and the font may be any of those installed on

  • Backgrounds and iWeb

    I've been working on a website for a friend of mine using iWeb, and I've got to say, it makes my life a whole lot easier. The Travel template almost perfectly for me. There was only one thing that got in my way. The background. If you take a look at

  • VC-in-Eclipse

    Hi! I've heard that there is an improvement for VC with SAP NW CE 7.1. --> VC-in-Eclipse The Visual Composer can be run locally in Eclipse and it is not required any more connect to a server to model a UI or Portal content. What does this mean <b>exa