Capture interactive report filter fields

I have a requirement where in a user can view data, apply filters to it, and then call an Oracle API passing across the data currently visible on the report.

If I can some how capture currently applied filters on an interactive report, I should be able to recreate the same data server before calling the API Oracle side.

Is there a way to capture these interactive report filter field?

Thank you
Shikhar

Hello

Ok
I don't know any Apex accumulation in the package, procedure or function you could use.
Custom package apex_ir_query can return where clause which is related to the current user
http://stewstools.WordPress.com/apex_ir_query-package/

I used here as example
http://ActioNet.homelinux.NET/HTMLDB/f?p=lspdemo:Home

Custom paging additional IR (first name/page) and export Excel use the package on this page

BR, Jari

Tags: Database

Similar Questions

  • 'OR' in Interactive report filter

    We need to create a filter preset for interactive report, which should be used only those records in which several (one or more) fields contain null values

    in SQL, it could be
    (Fld1 is null OR Chp2 is null OR Chp3 is null OR...)

    is it possible to do the same thing in the interactive report filter, preferably by using URL (user URL hits - and the filter is applied to the report)?

    Hello

    I have not access to an Apex 3 environment to verify this, but I think that interactive reports of Apex 4 save the filters slightly differently and an attempt to mimic this functionality using IR conditions would fail.

    The only solution I can think of right now is to have an additional column that returns 0 or 1 - for example:

    SELECT FIELD1,
    FIELD2,
    FIELD3,
    CASE WHEN (FIELD1 IS NULL OR FIELD2 IS NULL OR FIELD3 IS NULL) THEN 1 ELSE 0 END INCLUDE_NULLS
    FROM YOURTABLE
    

    then apply a filter to INCLUDE_NULLS = 1

    Andy

  • Interactive report filter by clicking the cell in report

    Hello

    I want interactive report filter by clicking report cell .i have created an interactive report and put java script in the Page HTML HEader.

    <script type="text/javascript"> 
    $(function(){  $('.apexir_WORKSHEET_DATA td').live('click',function(){   
    $('#apexir_SEARCH').val($(this).text());   gReport.search('SEARCH'); 
     }); 
    }); 
    </script>
    It is work in Apex 4.0 but does not not to point 3.2. I don't load the jQuery library in the header of the template page.
    I put only Java Script in the HTML Page Header.

    How to solve this problem.

    Thank you.

    Hello

    Way the easiest is using Google.
    Add to the header of HTML page or template page prior to alternatives #HEAD #.

    
    
    

    Alternative see, for example, that
    http://www.oracleapplicationexpress.com/tutorials/66

    Kind regards
    Jari

  • Apex 4.0 how use the interactive report filter feature?

    Hi all
    Sorry for the nub question, but if there is a way to create and save 'report' with the filter condition using a function?
    What I want to do is to create an interactive table called TASK report.
    Table has two columns I want to use for filtering:
    FDate - DATE - date
    TDate - DATE - to date
    Then, I need to create multiple saved reports:
    last week the tasks = where FDate between sysdate - 7 AND sysdate...
    last month tasks = where FDate between ADD_MONTH(sysdate,-1) AND sysdate...
    but,
    Interactive report filter does not accept sysdate or calls to functions ADD_MONTH.
    Is there an easy way to configure this feature?
    TIA
    Thomas

    Sorry for the double post...

    Published by: thomaso on August 6, 2010 12:04

    Hi Thomas,

    Take a look at the type of filter 'Row' in the interactive reports filter dialog box. This allows more dynamic filters, such as those involving SYSDATE or ADD_MONTHS calls. See also the next thread for some more details on this:

    Re: Interactive report - line conditional highlighting date function

    It will be useful.

    Anthony.

  • Interactive report filter expressions

    In the interactive report filters...
    Is it possible to use Select statements...

    for example

    Select the line type
    in type of expression:

    A in (select n_consultant_fk from the consultant_services where service_name in ' right % ')

    Click on apply

    This errors... is there a way to do this...
    other than creating a new page/report of course...

    Hello

    Do you want the ability of users to be able to write SQL themselves query filters or this just something you can do?

    I had a very similar situation is the past and I created just a public report I came with a very long work around by changing the actual query

    I used a case statement as a column in the query. It's on the top of my head and I obviously don't have work sorry for the mistakes of your query:

    SELECT
      us.user_id,
      us.username,
      'consulant' = (CASE
         WHEN EXISTS (SELECT 1 FROM consultant_services cs WHERE cs.service_name like 'RIGHT%' AND cs.n_consultant_fk = us.user_id)
      THEN
        1
      ELSE
        2)
      END
    FROM
      users us;
    

    Then, in your interactive report, you can have a filter to advise and assign consultant = 1

    Also, you don't need to see the consultant to the users column

    I hope that maybe it's something you can try, and it helps

    Paul

    Published by: Paul Broughton June 2, 2011 22:17

    Published by: Paul Broughton June 2, 2011 22:22

  • Formula to calculate interactive report - String field not in position fixed

    Hello

    I use interactive report of the Apex 3.0 as a customer and want to build a formula for the scenario below.

    There is "name of role" as shown below.

    "Role name".
    =================
    FY11 RGBU OvFldMg
    FY11 ChFldIC RPBU Ind Pts
    FY11 All OvFldIC Pts
    FY11 OvFldMg All Pts Ex
    FY11 Rev OUMg All
    FY11 OUSCIC all Rev
    FY11 OUMg Rev/Mrg
    FY11 ChFldMg SysTechApps
    FY11 CpFldIC BI
    FY11 IT all
    FY11 UASRV OUSCMg
    FY11 PrFldMg HlthSc

    I want to create the calculation field' balance sheet the name of role "with the following rule.
    If the role name contains one of the strings, the value 'Role name Check' here is 'OK' else 'CHECK '.

    OV FY11
    PTS
    Rev
    Sys

    The result should be as below.
    "Role name" / "role name check.
    ==============================
    OV FY11 FldMg RGBU / OK
    FY11 ChFldIC RPBU Ind Pts / OK
    OV FY11 FldIC All Pts / OK
    OV FY11 All Pts Ex FldMg / OK
    FY11 All OUMg Rev / OK
    FY11 OUSCIC all Rev / OK
    FY11 OUMg Rev /Mrg / OK
    FY11 ChFldMg Sys TechApps / OK
    FY11 CpFldIC BI / CHECK
    FY11 IT all / CHECK
    FY11 OUSCMg UASRV / CHECK
    FY11 PrFldMg HlthSc / CHECK

    I used a simple formula "DECODE (INSTR (L, 'FY11 Ov', 1, 1), 1, 'OK', 'VIEW')'."
    But this works only if the search string is at the front of the role name.

    Would appreciate your help.

    Thank you
    Guy

    I see guys. Fortunately, there is almost always more than one way to skin a cat!

    It is possible by simply using to DECODE, but you will need to enter in nested DECODE which might be a problem depending on how the string you test against or may need to test against the future.

    If you are simply testing the existence of one of the following strings, how about you do this:

    decode(instr(L, 'FY11 Ov') + instr(L, 'Pts') + instr(L, 'Rev') + instr(L, 'Sys'), 0, 'CHECK', 'OK')
    

    He add the character positions (if found) for each of the channels of test, and if the sum is 0, this means none of the channels found test - if the sum is nothing else, it means that at least one of them has been found. It has the advantage of your being able to add strings in the future while now decent readability.

    Hope this helps,
    John

  • Formula for Interactive report calculation field - Total amount per order

    Hello

    I use interactive report of the Apex 3.0 as a customer and want to build a formula for the scenario below.
    This is the more difficult scenario to date.

    There are three fields: 'NO ORDER', 'TYPE of PRODUCT","AMOUNT ".
    For example,.

    'NO ORDER' / 'PRODUCT TYPE' / 'AMOUNT '.

    101 / license / 10000
    101 / license / 5000
    101 / support / 2000
    101 / support / 1000

    102 / License / 5000
    102 / License / 2000
    102 / support / 1000
    102 / support / 500

    I want to add two fields 'Total license' and 'Total support' calculation by command.
    The result should be as follows:

    'NO ORDER' / 'PRODUCT TYPE' / 'AMOUNT' / 'Licence Total' / 'Total support '.

    101 / license / 10000 / 15000 / 3000
    101 / license / 5000 / 15000 / 3000
    101 / support / 2000 / 15000 / 3000
    101 / support / 1000 / 15000 / 3000

    102 / License / 5000 / 7000 / 1500
    102 / License / 2000 / 7000 / 1500
    102 / support / 1000 / 7000 / 1500
    102 / support / 500 / 7000 / 1500

    Would appreciate your help.

    Thank you
    Guy

    You can use the fields of IR calculation for a single record. So you can not "anticipate" or sum over an order or product_type.
    You have to solve in your query IR itself.
    You can get (something like) that with:

    select order_no
    , product_type
    , amount
    , (select sum(amount) from test2 b where a.product_type = b.product_type and a.order_no = b.order_no) total
    from test2 a 
    

    Or more elegant and better performance wise with analytical functions:

    select order_no
    , product_type
    , amount
    , sum(amount) over (partition by order_no,product_type) total
    from test2 a 
    
  • Interactive report filter with OR condition

    Hello
    How to use the interactive report or condition filter? using the default value is "and".
    For example, I have = 2008 FY or FY = 2009 (FY is a column in the report).

    Hello

    I don't think you can, but your example work a single filter using IN.

    HTH

    Chris

  • Interactive report filter problem

    Hello

    Today I met a problem with an interactive report. When the report first, load no problem. If a filter is added, an error is returned. The error is actually produced by a routine of affirmation that triggers and exception if a NULL value is passed. Here is a modified and simplified the application version:
    SELECT id,
       name,
       dept,
       emp.year_of_emp(hire_date) AS years_of_employment
    FROM emp_table
    WHERE id IN (
       SELECT c001
       FROM apex_collections
       WHERE collection_name = 'EMPS_UNDER_MANAGER'
    );
    Once again, when the report first no loading, no problem. When the Manager applies, say a filter on dept, an error is raised by the emp.year_of_emp function because a NULL value was passed.

    I know that all the EMOS with an id of PGE in the collection have a hire_date so I don't think that I should add another condition in where clause to filter those (even if it's the work at this stage). Anyone has any ideas as to what could be the cause?

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen
    http://sourceforge.NET/projects/plrecur

    Hello Dan,.

    Most points on the road ;-)

    Select / * + SORTED * / seems to do the trick... (I've updated your sample app and it works)

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Increase the width of the column interactive report filter

    Hello

    When you click on a column on an IR header, a filter in the form of a widow of pop - up appears, which has the list of values. I have an IR column where the values are long, such that they do not fit in the filter area. As there is no horizontal scroll bar, so the value is truncated.

    Is it possible to increase the width of the column filters say 3 inches for one or all columns, or even display a horizontal scroll bar so that the values do not get truncated?

    I use Apex v4.2.1.

    Hello

    Go wrote:

    POOJA,

    check out the blog of jari list drop down interactive column resizing report that can help you...

    Here you can find simple solutions for APEX 4.2

    APEX 4.2 resizable interactive column topic report menu

    Kind regards

    Jari

  • 'OR' logic in interactive report filter Conditions

    Hello.

    I use Apex 4.2.1 against Oracle 11 GR 2 using mod_plsql.

    I noticed that conditions of IR filter between the columns of different report as identical are always "AND-ed' together.

    My users need create IR filter conditions that are 'GOLD - ed' together.

    Is it possible to do this?

    Thank you.

    Elijah

    Once you click on "Filter", you will see two options - "Column" and "Row". Use 'Row' and there you can enter the complex conditions.

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

  • Interactive report filter

    Apex 3.2

    I have an IR which has also a column of link change using the values in the column 2 (PLOCID and PMATID) (shows edit icons).

    I went the attributes of the columns id column and uncontrolled all allow them users of options.

    Now when I enter something in the search box, that is to say, 23, it returns lines containing 23, but also lines

    whose ID contains 23.

    Y at - it anyway to stop this.

    I need the id in the link change, as they are used in a process of loading the edit page

    See you soon

    Gus

    Hello Gus,

    If I understand you, you need the value column in the link Edit but do not want the value of the column to be included in the research.  IF you try to use a static column for your column to edit.  Here is an example with the emp table:

    [code]

    Select hidden e.empno, "Edit", e.ename, e.sal

    from emp e

    [/ code]

    Your column of link would be your column to change, to link you to your page and the item and use the column ID masked as your value.  Let me know if I am misunderstanding of your needs.

    Paul

  • Capture interactive report change event

    Hi all

    I'm starting a JavaScript when the values on the side of the display of the international registration select list of changes.
    Basically my requirement is to limit the number of values, you can add to the form. I would like to limit to about 50 columns.
    I am able to get the number using
    $('#apexir_SHUTTLE_RIGHT option').size();
    I tired the below function JS to trigger when the button click apply
    $(".apexir-button").live('click',function()
               {
    
                   $(this).unbind('click');    
                   alert($(this).val());
              var c = $('#apexir_SHUTTLE_RIGHT option').size();
                    if ( c > 50 ) { alert('too many'); return false; } // the default JS for the apply still fires :( . I would like to get a count and disable apply button
               });
    I also tried the JS below to can trigger when the right multi select changes, but the two do not work
    $('#apexir_SHUTTLE_RIGHT').click(function() 
    {
       var c = $('#apexir_SHUTTLE_RIGHT option').size();
    alert(c);
    });
    Appreciate the tips here.

    Thanks in advance,
    RD

    Oh... you hit 32 k maximum size per line.

    Even if you want to restrict the number of columns to 50, you can't guarantee users will not get this error.

    When this error occurs, all afterrefresh DA does not fire, because Refresh of the IR has failed. If you are unable to change even the error message ORA to the error message friendly user :(

    Kind regards
    Hari

  • Hide filter interactive report dynamically after the page load

    Hello

    I try to hide the section of interactive report filters (hide/show the area with +/-sign on the top of the report) the loading of the page

    I have the reference to the thread after http://apex-at-work.blogspot.com/2011/02/hide-interactive-report-filter.html posted by Tobias Arnhold...

    According to the expert, all I have to do is post the following code the code JS "page loading" within a dynamic action...


    / * Hide filter IRR after page load * /.
    If ($('#apexir_CONTROLS_IMAGE').attr ("src") == ' / i/minus.gif ') {}
    gReport.toggle_controls ($x ('apexir_CONTROL_PANEL_CONTROL'));
    }

    I did, but apparently it does not work for me...

    I posted a sample on APEX. Oracle.com for review and comment

    Thank you

    Edited by: qwe12654 may 3, 2011 19:15

    Hello

    01. in the report Footer region put this

    
    

    * This will hide your filters, highlight conditions

    02. then Goto 'Report attributes' => 'Search Bar' => for 'Include search bar' select 'no '.
    * This will hide the full search bar (do this only if you want to hide this part)

    * If you get the answer then mark as 'Correct '.

  • between operator to group by date in the Apex of the interactive reports

    Hello

    In the filter of interactive reports, I could not find the "between" for the date field (got a "group by date" in my (source) sql query.) I wonder, is - this in view of the group by clause date?. Is there a way to show the operator "between" in the interactive reports filter.

    Thank you

    I just opened an existing style IR report, went to the actions, filter, selected a date column and found at the bottom of the list of values... Are you sure of the date that you want to filter on is a real date column?

    Thank you

    Tony Miller
    Webster, TX

    What happens if you were really stalking a paranoid schizophrenic... They would know?

    If you answer this question, please mark the thread as closed and give points where won...

Maybe you are looking for

  • 9.3.2 upgrade

    I'm still resist 9.3.2 upgrade for my mini iPad 4. In the hope of some sort of clear notice at all. The questions seem to be among the older phones and iPads? any thoughts?

  • Time Machine can't see the 2nd Logical Volume

    I have a RN104, there 4x3TB disks in there, configured in 2xRAID 1 volumes. The 2nd Volume has recently added so that I can activate and use Time Machine for backups of my Mac. That's the problem, when I start to set up Time Machine, it cannot see th

  • Internet Explorer 9 stopped working after an uninstall of HP Support Center

    Internet Explorer 9 stopped working after an uninstall of HP support center and drivers for all-in-one printers from HP (psc1310, C4180, F4200) 3.  Intend to re - install for just C4180.  I chose option to remove any related software, even if the upd

  • How to make a labelfield right aligned text

    I want to make my label text aligned to right field in then the screen LabelField content = new LabelField(description,LabelField.FOCUSABLE|USE_ALL_WIDTH|FIELD_RIGHT) This labelfield, I add to an optimization of internal resources VerticalFieldManage

  • VPN VPN3000 with Linux

    Hello, everyone, I need to set up a VPN Tunnel between VPN 3000 and a Linux box with Red Hat Enterprise 5.5. I think I use the Cisco VPN Client, but I can't download site web with my account in Cisco Cisco (I don't have a privilege). Does anyone have