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..

Similar Messages

  • 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. ;)

  • 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 &lt;script&gt; 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/]

  • Row filter on Interactive Report via URL parameter

    Hi,
    I've searched the forum but can't find a concise answer.
    Is it possible to pass a parameter (p_X) from one page to another via the url and then use p_X to act as a row filter in an Interactive report?
    Thanks for the help
    Joel

    Joel -
    Read the link that Andy posted. It is a pretty good source. This topic is not really that difficult to do. I have done it several times. Make sure that you understand the URL syntax for APEX. If you need a refresher on this take a look at http://www.oracleapplicationexpress.com/tutorials/55
    Austin

  • Clear Filter on Interactive Report

    I created an application in Application Express 4.2.0.00.27.  Four of the pages have interactive reports.  I applied the filter to the report on page 46 to show only rows with LAST_NAME LIKE ‘%JONES%’ and the rows are filtered correctly.  When I navigate to the calling page 12 and then back to page 46 the filter is still in effect.  The clear cache on the calling page 12 is checked.  Is there a property of the page or report which will clear the filter on page 46? 

    See Linking to Interactive Report in the documentation.
    To reset an interactive report in a link, use the string "RIR" in the Clear-Cache section of a URL. This is equivalent to the end user choosing the Reset option from the interactive report actions menu on the target page. The report is returned to the default report settings specified by the developer or saved by the user.

  • 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

  • Showing current Date (Date Column) in the the filter of Interactive Reports

    Hi,
    I created a filter for the date column in my report (table column name is Process_Date). I have created a filter in the Interactive reports which populates the data from , a particular time perieod. (From_date - To_Date). How can I change the SQL query or the Report settings, so that when the user open a report it should poulate the data for the previous_day or sysdate-1 by default.
    Thanks in advance for your help.
    James

    christine275 wrote:
    ... (this is a time worked by date and not always entered on the date worked)--
    "Time" in Numbers is always "Time of Day", and is always part of a Date and Time value. "Amount of Time" is a Duration value, which may be displayed in a similar format to "Time of Day," but is a different type of value.
    If you are entering the number of hours and minutes worked, format the column as Duration, set the units and the format in which you want to have the value appear.
    The Date column will still contain a Date and Time value (Jan 1, 2011 00:00:00 in the cell shown in the example), but the "Time Worked" cells will contain only a Duration value.
    Incidently, the Date in A2 was entered as "jan 1" (without the quotes). Numbers automatically adds the current year and the default time value, then displays the result in the closest format to what you've entered, or in the Date and Time format you have chosen.
    The Duration value in B2 was entered as 3:15 (as displayed). Note that in the entry bar the duration is displayed as 3h 15m, probably to distinguish it from a similarly formatted (Date and) Time value.
    Regards,
    Barry

  • Dynamic Filter on Interactive Reports

    Great job guys on the new Interactive Reports feature of 3.1
    I can't express how much time this will save us in our development effort and how much real estate on the screen is saved by not having to create our own report filters.
    My question is this:
    Say you have defined a default filter that returns all rows that were created between 01-JAN-1999 and 31-DEC-2999 (all rows in our application)
    Is it possible the make the 2 dates dynamic in the filter i.e. I would like to default these to the start and end date of the current month?
    Thanks for any help or suggestions
    Duncs

    I think I may have found the answer using the "In the Last" operator
    Will post my solution once implemented
    Duncs

  • 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
    -------------------------------------------------------------------

  • OR Filter in Interactive Report

    Hi,
    How can I have "OR" Filter in Intercactive Report ?
    For Eg: I want set a filter Like Dept contains HR or SALES :
    Dept contains 'HR'
    Dept contains 'SALES'
    But it gives me result if only one filter enabled at a time.
    How can I have result set from both condition?
    Regards,
    Benz

    Hi Martin,
    Actually my Dept column is not exactly like 'HR' or 'SALES' ,
    So "IN" condition will not work.
    Im looking for filter :
    DEPT LIKE '%HR%'
    OR
    DEPT LIKE '%SALES%'
    else
    DEPT contains 'HR'
    DEPT contains 'SALES'
    Regards,
    Benz

  • 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

  • Filter at Interactive Reports (want to use CURRENT_USER) Filter Expression

    I create an application based on websheets.
    I want to restrict to the logged in USER (:APP_USER).
    The Report can have a column filled at the creation of a row:
    Manage->ADD_COLUMN Default_Type=CUT`RRENT_USER (logged in User, thats APP_USER)
    But the Filter (Filter_Type=ROW) does not allow for Expression CURRENT_USER whereas CURRENT_DATE available.

    I do so (with SQL where...) at Apex-Application.
    But I want to use a websheet datagrid - not a report (put in data and select them)...
    If I use a report I can only use database objects, but only for select no create/update of rows.
    Any other idea ?
    Edited by: lkahlenb on Sep 7, 2010 2:43 PM

  • 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

  • "Invalid number" error using Interactive Report search  on collection

    hi -- I have several interactive reports based on collections. In the IR reqion query definition,
    I cast the collection values as needed (number, date, etc). Everything's been working great.
    In both development and production, I can use the search feature of interactive reports
    and it finds rows containing the text I type in (as well as everything else working fine...)
    I just imported a new version of an application into our production database. Now, when I use the
    interactive report search, I always get "invalid number". This even happens on interactive reports
    that still work in the previous version of the production application... and these IRS
    have not been modified at all.
    If I create a filter and search for "elevation" in a string column, the filter works. If I create a filter
    searching for "elevation" in a number column, I get "invalid number". (In the development
    environment, I can do the latter -- it just doesn't find any rows.)
    Clearly it's choking on the types of the columns in the IR... but why now and not before, and why
    in the production database but not the development DB? Both are running 4.0.1.00.03.
    This is a pretty major loss of functionality... and it comes at a really bad time... Help?!
    Thanks,
    Carol

    hi Andy, Tony -- Completely understand about your email address. I've actually wondered at the fact that any
    of you gurus are willing to give them out.
    It's not tons of stuff, so here it is.
    1) The application process that creates the collection. This process that runs whenever an IR
    page is being rendered. The various DB names are application items. This application can affect data
    on multiple databases. You'll see see this in the process that builds the query.
    IF (apex_collection.collection_exists (      
        p_collection_name=>'IR_COLLECTION')) then
        apex_collection.delete_collection(p_collection_name=>'IR_COLLECTION');
    END IF;
    apex_collection.create_collection_from_query_b(p_collection_name=>'IR_COLLECTION', p_query=>meta_data_pkg.build_ir_collection_query(:TABLE_NAME, :MASTER_DB_NAME, :CZAR_DB_NAME, :DB_NAME));2) The database function that constructs the query. Called in the above create_collection statement.
    FUNCTION build_ir_collection_query (table_name varchar2, master_db_name varchar2, czar_db_name varchar2, ref_db_name varchar2)
    return varchar2
    IS
      query VARCHAR2(3000);
    BEGIN
      IF /* check for other table names here */ THEN
        -- build queries for other tables
       -- *** HDB_EXT_DATA_CODE
      ELSIF (upper(table_name) in ('HDB_EXT_DATA_CODE', 'HDB_EXT_DATA_CODE_SYN')) THEN
        query := 'SELECT /*+DRIVING_SITE(dcs)*/ dc.ext_data_code_sys_id, dcs.ext_data_code_sys_name, dcs.agen_id, a.agen_name, dc.primary_data_code,';
        query := query||' dc.secondary_data_code, dc.hdb_datatype_id, d.datatype_name, d.unit_id, u.unit_name, d.physical_quantity_name, to_char(dc.date_time_loaded,''DD-MON-YYYY HH24:MI:SS'')';
        query := query||' FROM hdb_ext_data_code_syn@'||master_db_name || ' dc, hdb_ext_data_code_sys_syn@'||master_db_name ||
                 ' dcs, hdb_agen_syn@'||master_db_name||' a, hdb_datatype_syn@'||master_db_name||' d, hdb_unit@'||czar_db_name||' u';
        query := query||' WHERE dc.ext_data_code_sys_id = dcs.ext_data_code_sys_id AND dcs.agen_id = a.agen_id(+) AND dc.hdb_datatype_id = d.datatype_id AND d.unit_id = u.unit_id';
       /* continue w/ other tables */
    END;3) The query that it builds for the table in question:
    SELECT /*+DRIVING_SITE(dcs)*/ dc.ext_data_code_sys_id, dcs.ext_data_code_sys_name, dcs.agen_id, a.agen_name,
    dc.primary_data_code, dc.secondary_data_code, dc.hdb_datatype_id, d.datatype_name, d.unit_id, u.unit_name,
    d.physical_quantity_name, to_char(dc.date_time_loaded,'DD-MON-YYYY HH24:MI:SS')
    FROM hdb_ext_data_code_syn@UCHDB2 dc,  hdb_ext_data_code_sys_syn@UCHDB2 dcs, hdb_agen_syn@UCHDB2 a,
    hdb_datatype_syn@UCHDB2 d, hdb_unit@UCHDB2 u
    WHERE dc.ext_data_code_sys_id = dcs.ext_data_code_sys_id AND dcs.agen_id = a.agen_id(+)
    AND dc.hdb_datatype_id = d.datatype_id AND d.unit_id = u.unit_id           4) The explain plan results on the development database
    PLAN_TABLE_OUTPUT                                                                                  
    Plan hash value: 583729845                                                                         
    | Id  | Operation                       | Name                  | Rows  | Bytes | Cost (%CPU)| Time
        | Inst   |                                                                                     
    |   0 | SELECT STATEMENT REMOTE         |                       |    97 | 16490 |    19  (16)| 00:00
    :01 |        |                                                                                     
    |*  1 |  HASH JOIN                      |                       |    97 | 16490 |    19  (16)| 00:00
    :01 |        |                                                                                     
    |   2 |   TABLE ACCESS FULL             | HDB_UNIT              |   177 |  3540 |     3   (0)| 00:00
    :01 | UCHDB2 |                                                                                     
    |*  3 |   HASH JOIN RIGHT OUTER         |                       |    95 | 14250 |    15  (14)| 00:00
    :01 |        |                                                                                     
    |   4 |    TABLE ACCESS FULL            | HDB_AGEN              |    54 |  1944 |     3   (0)| 00:00
    :01 | UCHDB2 |                                                                                     
    |*  5 |    HASH JOIN                    |                       |    95 | 10830 |    12  (17)| 00:00
    :01 |        |                                                                                     
    |   6 |     MERGE JOIN                  |                       |   112 |  5936 |     6  (17)| 00:00
    :01 |        |                                                                                     
    |   7 |      TABLE ACCESS BY INDEX ROWID| HDB_EXT_DATA_CODE_SYS |    15 |   405 |     2   (0)| 00:00
    :01 | UCHDB2 |                                                                                     
    |   8 |       INDEX FULL SCAN           | HDB_EXT_DATA_CODE_SYS |    15 |       |     1   (0)| 00:00
    :01 | UCHDB2 |                                                                                     
    |*  9 |      SORT JOIN                  |                       |   112 |  2912 |     4  (25)| 00:00
    :01 |        |                                                                                     
    |  10 |       TABLE ACCESS FULL         | HDB_EXT_DATA_CODE     |   112 |  2912 |     3   (0)| 00:00
    :01 | UCHDB2 |                                                                                     
    |  11 |     TABLE ACCESS FULL           | HDB_DATATYPE          |   711 | 43371 |     5   (0)| 00:00
    :01 | UCHDB2 |                                                                                     
    Predicate Information (identified by operation id):                                                
       1 - access("A2"."UNIT_ID"="A1"."UNIT_ID")                                                       
       3 - access("A4"."AGEN_ID"="A3"."AGEN_ID"(+))                                                    
       5 - access("A5"."HDB_DATATYPE_ID"="A2"."DATATYPE_ID")                                           
       9 - access("A5"."EXT_DATA_CODE_SYS_ID"="A4"."EXT_DATA_CODE_SYS_ID")                             
           filter("A5"."EXT_DATA_CODE_SYS_ID"="A4"."EXT_DATA_CODE_SYS_ID")                             
    Note                                                                                               
       - fully remote statement                                                                         5) The explain plan results on the production database
    PLAN_TABLE_OUTPUT                                                                                                                                                                  
    Plan hash value: 583729845                                                                                                                                                         
    | Id  | Operation                       | Name                  | Rows  | Bytes | Cost (%CPU)| Time     |                                                                          
    |   0 | SELECT STATEMENT                |                       |    97 | 16490 |    19  (16)| 00:00:01 |                                                                          
    |*  1 |  HASH JOIN                      |                       |    97 | 16490 |    19  (16)| 00:00:01 |                                                                          
    |   2 |   TABLE ACCESS FULL             | HDB_UNIT              |   177 |  3540 |     3   (0)| 00:00:01 |                                                                          
    |*  3 |   HASH JOIN RIGHT OUTER         |                       |    95 | 14250 |    15  (14)| 00:00:01 |                                                                          
    |   4 |    TABLE ACCESS FULL            | HDB_AGEN              |    54 |  1944 |     3   (0)| 00:00:01 |                                                                          
    |*  5 |    HASH JOIN                    |                       |    95 | 10830 |    12  (17)| 00:00:01 |                                                                          
    |   6 |     MERGE JOIN                  |                       |   112 |  5936 |     6  (17)| 00:00:01 |                                                                          
    |   7 |      TABLE ACCESS BY INDEX ROWID| HDB_EXT_DATA_CODE_SYS |    15 |   405 |     2   (0)| 00:00:01 |                                                                          
    |   8 |       INDEX FULL SCAN           | HDB_EXT_DATA_CODE_SYS |    15 |       |     1   (0)| 00:00:01 |                                                                          
    |*  9 |      SORT JOIN                  |                       |   112 |  2912 |     4  (25)| 00:00:01 |                                                                          
    |  10 |       TABLE ACCESS FULL         | HDB_EXT_DATA_CODE     |   112 |  2912 |     3   (0)| 00:00:01 |                                                                          
    |  11 |     TABLE ACCESS FULL           | HDB_DATATYPE          |   711 | 43371 |     5   (0)| 00:00:01 |                                                                          
    Predicate Information (identified by operation id):                                                                                                                                
       1 - access("D"."UNIT_ID"="U"."UNIT_ID")                                                                                                                                         
       3 - access("DCS"."AGEN_ID"="A"."AGEN_ID"(+))                                                                                                                                    
       5 - access("DC"."HDB_DATATYPE_ID"="D"."DATATYPE_ID")                                                                                                                            
       9 - access("DC"."EXT_DATA_CODE_SYS_ID"="DCS"."EXT_DATA_CODE_SYS_ID")                                                                                                            
           filter("DC"."EXT_DATA_CODE_SYS_ID"="DCS"."EXT_DATA_CODE_SYS_ID")                                                                                                             6) This is the source query for the interactive report in question. The application process that creates the
    collection runs before this region is rendered.
    Select /*+ NO_QUERY_TRANSFORMATION */
    to_number(C001) Ext_Data_Code_Sys_Id,
    C002 Ext_Data_Code_Sys_Name,
    to_number(C003) Agen_Id,
    C004 Agen_Name,
    C005 Primary_Data_Code,
    C006 Secondary_Data_Code,
    to_number(C007) Hdb_Datatype_Id,
    C008 Datatype_Name,
    to_number(C009) Unit_Id,
    C010 Unit_Name,
    C011 Physical_Quantity_Name,
    C012 Date_Time_Loaded
    from apex_collections
    where collection_name = 'IR_COLLECTION'
    order by 1,5,7Well, maybe it is alot... !
    Happy New Year!
    Carol

  • Apply OR clause in dynamic filter on an interactive report

    Apex ver - 4.2
    I have a requirement wherein I have to apply filter on interactive report. I have to apply filter which will change depending upon different conditions. So I created a PLSQL process on "On Load Before Region"
    For e.g if condition is --- status = 'Open' and Approved = 'Yes'
    I can write a PLSQL process with code as:
    apex_util.ir_filter(p_page_id => 1, p_report_column=>'Status' p_operator_abbr=>'EQ', p_filter_value=>'Open');
    apex_util.ir_filter(p_page_id => 1, p_report_column=>'Approved' p_operator_abbr=>'EQ', p_filter_value=>'Yes');
    But these filters have AND logical operator
    What can I code if I want OR condition i.e.
    status = 'Open' OR Approved = 'Yes'

    Check out these blog postings from the APEX Dev Team:
    http://anthonyrayner.blogspot.com/2008/07/dynamic-date-filtering-in-interactive.html
    http://dpeake.blogspot.com/2008/03/advanced-interactive-reports.html

Maybe you are looking for

  • Strange behavior since upgrading

    I just upgraded to 7.5, and neither my icon by the start menu or the shortcut on my desktop work. I CAN get iTunes to run by accessing it through the start menu, but it will also no longer launch when I plug in my iPod. I run Windows XP. Also, the F

  • Do you let the battery run down all the way?

    I recently purchased a iPod 5g. The first thing I noticed is that the instructions said nothing about letting it charge before using it. That's fine, but I had a question. Do you let your battery drain down low before charging it again? Just wonderin

  • Getting the Error : SSLException :End user tried to act as a CA in WAS

    I have a web service application running in WAS 5.1 and client application running in WAS 6.1. We use server side authentication and we have configured the trust store keystore on the client side. But when we try to invoke the wenservice i get the er

  • How to add date/calendar chooser?

    if you have a button labeled "Open Calendar" , what would the code in the ActionPerformed look like???

  • How to uninstall Xcode 4.3.3?

    The reason why is because I mean't to download it under another Apple id. I've tried the sudo command and all it says "command not found".