Cancel the search in an Interactive Report

Hi ,
My Interactive Report will run for a minute or for a long time like 5 to to 10 minutes depending upon given parameters to the report.
Now I would like to cancel the report search when I made a mistake like searching on a value which willtake more time.
Please suggest how to achieve the same.
Regards,
Meda

You could try to reset the report using a page button for example. See this:
http://dpeake.blogspot.de/2008/03/advanced-interactive-reports.html
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
-------------------------------------------------------------------

Similar Messages

  • How to remember what I search for in Interactive Report's search field

    Hi.
    I made Cro-Eng dictionary using Interactive Report by joining two table columns of Croatian and English word. Now I want to remember every word that I write in the search field of Interactive Report by filling the table SEARCHEDWORDS which has two columns WORD and DATE, so that I can see all the searches that were made and the date they were made. Is it possible? Do I need triggers for that, or do I do it through processes in edit page of Interactive report? something like INSERT INTO SEARCHEDWORDS (WORD, DATE)
    VALUES (?SOMETHING?, SYSDATE);

    Hi Tihomir,
    The last step is Javascript so you'll need to create an HTML region and wrap the code in <script> tags. The Javascript basically overwrites the default actions to refresh the IR report. Instead it says to call a custom function which first logs the search request then makes a request to refresh the IR region.
    jQuery is used to help manipulate these links. jQuery is a javascript library. You can read more about it at jquery.com. To see more examples, Insum has an excellent jQuery for APEX page: http://apex.oracle.com/pls/otn/f?p=987654321:home:0
    If you have multiple IR pages then you can include the code on Page 0 or on each of those pages. Since you're trying to log information for several different IR you may want to add some extra columns to your log table to include which IR the searches belong to. You'll also need to update your application process and (depending on your requirements) some of the javascript code.
    Martin
    [http://apex-smb.blogspot.com/]

  • How to apply an accent-insensitive search to an interactive report?

    Hello all!
    I'm trying to put an accent-insensitive search on an interactive report here. For example, if I'm on the page that has the interactive report and if I click the column header of the interactive report, I get to see a search bar that dynamically shows the results that match your input. Now, when I enter "jager", I want to see *"Jägermeister"* as a search result. The search must be accent-insensitive, so that I don't have to enter the ä every time.
    My code is as follows:
    SELECT name
    FROM food_1
    WHERE name LIKE 'Jagerme%'
    AND NLSSORT(name) IS NOT NULL
    ORDER BY NLSSORT(name, 'NLS_SORT=GENERIC_M_AI');As you can see, I first tried getting a result through the SQL Command. It should return the row that has "Jägermeister" as name. However, it doesn't. It tells me "No data found". So, how do I alter my NLSSORT to search accent-insensitive?
    Some extra information, I edited the interactive report source to the following:
    SELECT DISTINCT a.name, a.foodid
    FROM food_1 a INNER JOIN foodunit_1 c
    ON a.foodid = c.foodid
    WHERE a.foodlanguageid = :P17_SET_LANGUAGE
    AND NLSSORT(a.name) IS NOT NULL
    ORDER BY NLSSORT(a.name, 'NLS_SORT=GENERIC_M_AI');I also tried doing ALTER SESSION before the SQL code, but it still gives me the same result: No data found.
    I'm using APEX version 4.1.1.00.23.
    Help and suggestions are more than welcome. ;)
    Thanks in advance,
    Magali

    I found it out!
    It's really ridiculous, actually.
    Remember this code?
    execute immediate ('ALTER session SET NLS_COMP=LINGUISTIC');
    execute immediate ('ALTER session SET NLS_SORT=BINARY_AI');Well, this code is perfectly fine. Only, it doesn't execute. This is because it was misplaced...This process is not executed when you place it in the current authentication scheme, under the "Post-Authenticatoin Process" part.
    You might wonder why this is, but I have the explanation to that.
    You see, when you use an interactive report, the page processing isn't executed when you use the search function of that interactive report... Because it's an interactive report, I guess.
    BUT.
    An ALTER SESSION from the security attributes, that will execute.
    So, the solution to my problem was, in this case:
    Go to "Application" --> "Shared Objects" --> "Security Attributes" --> "Database Session" --> "Initialization PL/SQL code". In there, you need to put:
    BEGIN
    EXECUTE IMMEDIATE 'ALTER session SET NLS_COMP=LINGUISTIC';
    EXECUTE IMMEDIATE 'ALTER session SET NLS_SORT=BINARY_AI';
    END;By doing this, there's no longer any need to edit the source code of the report!
    So, that's the solution. I can finally enter text without special characters in it, and get the corresponding data, with special characters... Ahh. :)
    I hope this is helpful to others as well now. ;)

  • Search/Filter through Interactive Report!

    Hi All,
    First of all WISH a very Happy New Year-2010!!
    In my previous post for Search/Filter through Interactive Report!
    I am facing problem with UI as mentioned below can any one help me out on this, as this an urgent for me...
    At last i was able to was able to retrieve the data from Iframe using different logic!!
    But i want to modify some of the modifications in UI Design..
    As i have informed u that End user always selects the Page-85 which is visible to them..
    In that page(85) i have totally created three regions.
    1. Attribute Report(Intearctive report)
    2. Manage Attribute(HTML where i have give iframe syntax as {iframe ID="Attribute Report" src="" style="width:520;" FRAMEBORDER=0></iframe>
    3. Create/Edit Region
    FYI: There is a create button in Attrinbute Report and when i click on that Button then only i wil display the Create/Edit Region
    Now the problem is end user are using pixels as 1024*756 size, when i have tried to increase the size of width in iframe, the create/edit region is crossing and
    need to scroll down to check the data.
    Let us assume if i had reduced the size of width as default 520 then create/edit region is placed with in pixcels.
    As u know there is a button called as "GetResults" in page-85 when i clik on that button we will call the iframe which is a hidden page where end user
    can not view.
    The main problem is that in that page i mean page-45, it has desgined in such a way that it is similar to page-85 which is having with all 3 regions!!
    When it will display the report from iframe for that the scrolloing is displayed, and when i had click on create button in that iframe the credit/edit region is
    displayed but for that there to scroll down which is not happy by endsuer.
    In order to overcome this i had tried to increase the width in iframe which is working for one not for the other or viceversa.
    Suggestion: Can u suggest me how to fix the pixcels so that it will not excceds the pixecls size?
    What i had thought is in page-85 i have created totally 4 regions instead of 3 regions as shown below:
    1. Attribute Region
    2. manage Attribure(With Iframe)
    3. manage Attribute(With out iframe but used one hidden varibable ans set that hidden in condtional region)
    4. Create/Edit Region.
    And i am setting that hidden variable in Create button, so that i can call the second manage attribure with iframe.. When i have tried to use that it is throwing script error as "style is null or nor an object", i belive scince we are hidinng that region it migh not able to identify that style!!!
    Can u suggest me the way i have done i had implemenetd is sounds goods for u? Or else can u help me out how to fix that UI design issue...
    Thanks in advance,
    Anoo..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi Andy,
    As per your suggestion i have created two pages!. One is 85 page and 45 page, but foe enduser can see only the 85 page.
    In 85 page i have created a interactive report as shown below:
    SELECT distinct attr_code "EDIT", attr_code, attr_description, attr_atcl_code,
    attr_abbreviation,
    attr_include_short_desc "Include short desc",
    attr_include_long_desc "Include long desc",
    attr_attr_type "AttrType", attr_code "DELETE"
    FROM t_append WHERE EXISTS (SELECT 1
    FROM APEX_APPLICATION_PAGE_IR_COND
    WHERE APPLICATION_ID = :APP_ID
    AND PAGE_ID = :APP_PAGE_ID
    AND CONDITION_ENABLED = 'Yes'
    AND APPLICATION_USER = :APP_USER) ORDER BY attr_description;
    In the same page itself i have created a One more region, where i have one select list and submit button, when there select fro the list and click on submit button then popup should fired, i mean what u have mentioned. For that i have created a new page called 45 where i have two regions one is HTML region and second is interactive report.
    I html region i have given like this in source
    <iframe src="f?p=&APP_ID.:85:&SESSION." style="width:500; height:1000;" FRAMEBORDER=0></iframe>
    but i am not able to see the template at all?
    Pls correct i way i have done is correct or not.
    Also i was not able to see the Region as - Popup one ( where i can see the popup option?)
    Thanks,
    Anoo..

  • Control the *GO* button in interactive report

    How to control the GO button in interactive report using dynamic action?
    i have to press the GO button automatically using dynamic action when page item get focused.
    Is it possible?
    thanks and regard,
    skud.

    Hi skud,
    Your dynamic action can capture the "Get Focus" event of your page item and then you could try creating a true action to submit the page with a specific request. Create a branch to a URL with the condition of request being equal to the one you specified before, and as target select URL and make use of the filtering of an IR by URL when linking. This is just an idea, hope you can get the result you need.
    Regards,
    Sergio

  • How to increase the column size of interactive report

    Hi , I am using apex 4.2 and theme 25 ..
    i did not find any option to increase the column size of interactive report. where as in classic report i can do so ,,
    Please guide me to achieve that.
    Thank You,
    Nihar Narla

    Nihar Narla wrote:
    Hi , I am using apex 4.2 and theme 25 ..
    i did not find any option to increase the column size of interactive report. where as in classic report i can do soThis can be done using CSS. Create a rule like this in the page Inline CSS property:
    .apexir_WORKSHEET_DATA td[headers="COLUMN_ALIAS"] {
      width: 10em;
    }where COLUMN_ALIAS is the alias of the column in the report query and the width measure is whatever you require.

  • Set default search column in Interactive Report

    Hi All:
    In APEX 4.0, for "Interactive Report" search function:
    If user doesn't select a column name to search for (this is done by click Magnifier glass icon), the IR will search "All Columns" that contains a string you have typed in the search bar.
    Is there a way to configure IR so that, by default, it will not search "All Columns", instead, it should search a particular column that I will specify when define this IR report.
    Why I am asking this? Here is my case:
    I have created a IR report to search employee information. By default, when user enters a string in the search bar, user want to search "Emploee Full Name" column in my IR report. User wants this default search behavior and really doesn't want to "click Magnifier glass icon and select "Employee Full Name" column; then type the search string).
    Basically, in my case, the IR report should default to search "Employee Full Name" if user doesn't select any search column.
    Any idea how to achieve this?
    Thanks!
    Kevin

    In the above DA, Changing the 'Event Scope' to 'Dynamic' should trigger it after PPR. I tried it but it's not working for me.
    Try the below it's working for me as expected,
    Create DA like below,
    Event: After Refresh
    Selection Type: Region
    Region: Select your IR region
    In True Action,
    Action: Execute Javascript Code
    Code:
    $s('apexir_SEARCH_COLUMN_DROP','COLUMN_LABEL');                           
    $s('apexir_CURRENT_SEARCH_COLUMN', 'COLUMN_ALIAS');
    In Affected Element,
    Selection Type: Region
    Region: Select your IR region
    Event Scope: bind (Default)
    Make sure Fire On Page Load under 'Execution Option' is checked. (i.e. Fire On Page Load: Yes)
    I am using APEX 4.0.2.00.07. It's working for me also in apex.oracle.come it's working in my example application.
    Thanks
    Lakshmi

  • What is the old name of "Interact reporting"

    Hi
    what is old name of "interact reporting" i mean before system 9i BI+
    i am searching in e-delivery.oracle.com but this software is not available(.i mean i am unable to find with this name "interact reporting" )
    there is any alter name for interact reporting in e-delivery.oracle.com site
    can any one tell me exact name for "interact reproting " in e-delivery.oracle.com site
    please help me

    Brio is the name of IR
    Brio was bought by hyperion and named it as intially to Hyp Intelligence
    then in System 9 they renamed to Interactive Reporting(IR)
    To install IR you need to download Reporting and Analysis BI Services and UI services and configure them.
    HTH
    Jagan

  • How to remove the edit icon in interactive report?

    Hi All,
    I am using the Customer Tracker 1.1 sample and I would like to remove the edit icon on the Customers list. (Instead I would like the Customer name to be the link itself).
    However, nothing I do on the reports properties seems to have any effect on this icon!
    I have even remove the A.ID column from the underlying SQL query but I still see the little pencil!
    Any ideas?
    Regards,
    Pawel.

    Sorry for the spam!
    I just discovered the whole new section in the Interactive Report - Link Column - just needed to exlude the link.
    P.

  • Issues with the Radio Group and interactive report

    Hi,
    I have an interactive report that shows customer names and associated revenues... I want my users to be able to filter customer list by Province and by City in a way that when the user select a province then only associated cities show up (driven by a table)... for the filtration I am using 2 Radio Group items (one for Provinces and the other one for Cities)
    Everything is working fine, except for the fact that when I select a province (let's say Prov A) and then select a city (let's say City A1) and again when I select another Province (let's say Prov B) I get the list of all cities associated to Prov B + city A1... Not sure why my previous selection of City is showing up with the list of new cities when I change the province... I SHOULD BE ABLE TO REST ALL CITIES WHEN A NEW PROVINCE IS SELECTED
    here is the code
    For interactive report
    select     CUSTOMER_NAME,
         SUM(YTD) AS YTD
    from     T_TABLEA
    where
    (PROVINCE=
    CASE
    when :P2_PROV = 'All' THEN PROVINCE
    ELSE :P2_PROV
    END
    and
    (CITY=
    CASE
    when :P2_CITY = 'All' THEN CITY
    ELSE :P2_CITY
    END
    GROUP BY CUSTOMER_NAME
    For Province Radio Group I am using a static list:
    STATIC2:All;All,Alberta;AB,Ontario;ON,Quebec;PQ,British Columbia;BC
    For City, I am using a dynamic list using following code:
    select 'All', 'All' return from dual
    union
    select distinct INITCAP(CITY) display_value, CITY return_value
    from T_TABLEA
    where
    Province = :P2_PROV
    order by 1
    Thanks

    Check the session state of items P2_PROV and *:P2_CITY* when the issue occurs and run the LOV query separately with the session state values.
    If that too fetches it wrongly, then you would need to change your query.

  • Catch the onClick event on Interactive Report to access columns content

    Hi,
    I am using Apex 4
    I would like to display some rows into an interactive report. I have define a dynamic action on that report in order to catch the Mouse OnClick Event.
    The Goal is to display the detail of the row in a form region in the sidebar.
    To do this, I would like to get the content of a column of the row clicked and then execute a pl/sql block to get the detail of my row.
    I am stuck to get the content of the column I have clicked within the dynamic action to pass it to execute the pl/sql block.
    Any idee?
    Many thanks
    jko
    Edited by: user617942 on 29-Jul-2010 04:19

    Hello,
    Did I ask something stupid :-)
    Jko
    Edited by: user617942 on 29-Jul-2010 04:19
    Edited by: user617942 on 29-Jul-2010 08:34

  • How to set the column width in the PDF exports of interactive reports ?

    Hello,
    I have a huge problem with the PDF export for the Interactive reports. I'm using APEX 3.2.
    I have to produce a PDF report in landscape format that show 21 columns. My problem is that the columns have a ridiculous short width and that the text inside the columns do not wrap in the columns. So I get things like that :
    Date Name
    2011 Leina
    I should see 2011-08-01 and the name Leinad Jan
    I tried several things to format the columns, but none of the them has any effect on the PDF itself.
    1) I used HTML code in the report query. It works well with the interactive report, but display the HTML tags in the PDF.
    2) I used css to set the width of my columns. It works in the interactive report, but not in the PDF, the column width do not change.
    It's like the report do not notice that my page format is Legal 14 x 8.5 (Landscape) and still believe it's 8.5 x 11 (which is "portrait")
    Do you have any idea so set the columkn widths in the reports ?
    Thank you !
    Edited by: leinadjan on Aug 1, 2011 11:15 AM

    To "remember" the column widths, add a mouse listener to the table header. Upon mouseReleased(), get the column widths and save them to your file. When the application starts next time, get the stored widths and set them using:
    table.getColumn("XXX").setPreferredWidth(...);
    By default, your columns are adjustable, but you can use:
    table.getTableHeader().setResizingAllowed(true);

  • Highlight Search Words in Interactive Report

    I have been searching and searching for days for a solution to highlight the search words in the IR. I was thinking to grab the search field value and do a global replace in the report region, but it looks like the search report is generated by javascripts. I really appreciate if anyone can help me out..thanks
    Edited by: 889129 on Oct 3, 2011 10:19 AM

    Is this the kind of thing?
    http://apex.oracle.com/pls/apex/f?p=579:45
    Basically, implement this JQuery plugin
    http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html
    Then create a hidden/unprotected item 'P45_SEARCH'
    Next create 2 x dynamic actions:
    1. Before Region Refresh run JS
    $("#P45_SEARCH").val($("#apexir_SEARCH").val());2. After Region Refresh run JS
    var lv_search = $('#P45_SEARCH').val();
    if (lv_search) {
    $('td').highlight(lv_search);
    }I've not had time to polish it, but it might give you some ideas.
    I hope it helps
    Shunt

  • Enter in search field in Interactive report does not work

    APEX 3.2.1
    When I type a string in apexir_SEARCH field and clichk on OK button, the report behaves in a correct way - it adds a filter line and does filtering.
    When I type a string in apexir_SEARCH field and then <Enter>, nothing happens.
    The same behavior in IE9 and Chrome.
    Apparently, it's gReport.search('SEARCH') function actioned on apexir_SEARCH's keyup event that is fired, but I don't manage to get further.
    I have deleted all non-odp processes and created a test IR page, but there the behavior is still the same.
    Any idea what could cause this?
    Igor

    inspect the input element and see if it has something like this
    if($f_Enter(event)){gReport.search('SEARCH'); return false;}if not add this using javascript

  • How to show all the search result in a report page

    I have a report page which the user can enter first or last name to find the matched employees. The current report only show maximum of 15 matched results. How to show all of them in one page if more than 15.
    Also, the employee name on the report is a link, how to make the link to be conditional. ( I mean it can be a link or not based on another column)
    Thanks.
    Jen

    Hi, you can change the number of rows on the report definition page (15 is the default value)- that's also where you can change pagination and max. number of rows etc.
    About the second question - you will have to use Case or Decode in your report query and have the value as link or not based on the condition column, something like:
    Select Decode(condition_column, 'link_value', '<a href="f?p=YOUR_APP:PAGE_TO_LINK_TO:'  || :SESSION || ':::::">display_column</a>' , display_column) From .....
    Hope this helps.

Maybe you are looking for

  • How do I reduce the MTU on my Airport Extreme Ethernet connection?

    Hi there, Is it possible to reduce the MTU on the Ethernet connection inside the Airport Extreme Base station. I was having trouble accessing some websites, but was able to fix it on a direct ethernet connection by reducting the MTU setting to below

  • Why i can compare two string

    * @(#)Assignment.java 1.0 03/12/12 * You can modify the template of this file in the * directory ..\JCreator\Templates\Template_1\Project_Name.java * You can also create your own project template by making a new * folder in the directory ..\JCreator\

  • Macbook goes to sleep randomely when connected to Apple LED Display

    I have  an issue with my Macbook Pro (2009 model) when it's connected to my 27' Apple LED Display. For no apparent reason that I can tell, it just goes to sleep at random, and after I wake it up by pressing a key (bluetooth keyboard), the mouse curso

  • V.V.Urgent( Soap- XI- RFC) and Viceversa

    Hi, I am Integrating Webservice with SAP. I am Using soap and RFC adapters for this ..... I want the Information from Creating SLD... How to create logical system for SOAP... and also for RFC   (  Both Sender and Receiver adapters) Points will be awa

  • Is anyone else getting this error message when deploying hellows SOAP app?

    I am trying to deploy the hellows SOAP service manually and get this error when running the HelloClient: D:\j2sdk1.4.0\bin\javaw.exe -client -classpath D:\development\projects\sandbox\SOAPTest\bin;D:\development\projects\sandbox\SOAPTest\client\hello