Passing Interactive report item values to flash chart.

Hello,
I am trying to pass an interactive report item value to a 2D column chart type in the chart query as :IR_EMPNO but the item value comes as null and the chart does not show any data. when I am passing this value to another form item and referencing it in the chart query as :P2_EMPNO, it works fine!! have anyone encountered such problem? Please help.
Regards.

Thank you Varad...
Unfortunately, I am still getting no data found. (and there IS data).
a) Do you mean in the link column section of the report attributes? that is done: item 1 name= IR_P2_FID, value = #FID#
b) Do you mean my changing my hidden page item to ir_p2_fid with its source value as #FID# ? also done.
Do I need this hidden item?, and if not how do I refer to link in the where clause of the called page's sql region?
3) Where Fishery_id = :IR_P2_FID
Where Fishery_id = &IR_P2_FID
Thanks again!
Pamela

Similar Messages

  • Interactive Report & Item Value in Page 0

    Hi,
    Is it true that Interactive Report query couldn't read item value from Page 0?
    I have this Interactive Report region using the :P0_EMP_SEQ in the where CLAUSE, i found out that the value is always blank/NULL.
    I created a normal Report region to test the SQL, I can see records being returned.
    Cheers,
    -Joel

    Hi,
    When you are on page 32, check that there is value on page 34 item session state
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/concept_ses.htm#sthref100
    Regards,
    Jari

  • Access the X-axis value from Flash Chart

    Hi,
    Is there a way I can access the X-axis value from Flash Chart to populate a report in another page? My X-axis is not a direct column in the table it is computed in the query.
    X-axis is MON-YEAR computed from the Begin_Date column. I want to capture the MON-YEAR clicked by the user to populate a report for that Mon-Year.
    Here is my chart SQL.
    select 'f?p=&APP_ID.:18:&SESSION.:::::::' link,
    to_char( "VIEW"."BEGIN_DATE",'MON-YYYY') label,
    sum(decode(TYPE_Id,2,Value,0)) "Value-1",
    sum(decode(TYPE_Id,1,Value,0)) "Value-2"
    from "VIEW" where to_char( "VIEW"."BEGIN_DATE",'MON-YYYY')= to_Char(sysdate-100, 'MON-YYYY')
    group by to_char( "VIEW"."BEGIN_DATE",'MON-YYYY'),
    to_char( "VIEW"."BEGIN_DATE",'YYYY')
    order by to_char( "VIEW"."BEGIN_DATE",'YYYY')
    Any suggestions?
    Thanks

    Thanks Marco..
    I did the same thing. I found this info at Re: Charts and links
    in the forum.
    Thanks for the help again.
    Nimmi

  • Interactive report Several series within same chart?

    Hi
    I'm about to develop a Chart-report showing several series within same chart
    ex
    serie1: Product A , amounts, dates
    serie2: Product B , amounts, dates
    etc.
    It would be nice to use IntractiveReports in this case but is it possible?
    Thanks for any tips & hints
    Regards GASon

    Hi Gunnar,
    It's not actually possible to create a multiple-series chart using the Actions menu for an Interactive Report. Only single series charts can be generated using that option. You will need to generate a separate chart to handle your requirements, which you could obviously position on the same page as your Interactive Report. The advantage of generating a separate chart means that you can choose from a wider range of Flash chart types exposed via the Create wizards. We only support the generation of 4 chart types (Horizontal Bar, Column, Line, Pie) via the Charts Action menu on Interactive Reports, but we support 26 chart types (ranging from 2D Column to Gantt charts) via the Create wizards. You might find it useful to take a look at my sample application (http://apex.oracle.com/pls/apex/f?p=36648), and also the AnyChart online documentation (http://anychart.com/products/anychart/overview/) and chart gallery, for further information on charts.
    I hope this helps.
    Regards,
    Hilary

  • Setting the APEX interactive report items

    Hi,
    I need to reset the APEX interactive report items like apex_ir_APP_USER to some value.
    I put the below jQuery code in the javascript header page it did not work:
    <script type="text/javascript">
    $document.ready(function() {
    $('#apexir_APP_USER').val('NEW VALUE');
    </script
    Any suggestions ??
    Thanks

    The reason of me trying to set the apex interactive item is:
    For the interactive report, we enabled the subscription service, so that users can subscribe for the selective reports.
    So, when a user clicks the Actions button and selects the subscription option, then the couple of fields like email address, subject etc., are populated, with the default values.
    The email address field is auto populated with the user id like abc.efg.
    And, the email address field i would like to manipulate and change to [email protected]
    Now i was able to change the value of the hidden variable, apexir_APP_USER with the below code but when i select subscription option i still see the same user id populated in the
    email address field.
    <script type="text/javascript">
    $(document).ready(function() {
    alert('test'+ $("#apexir_APP_USER").val());
    $("#apexir_APP_USER").val("Value changed");
    alert('changed value '+ $("#apexir_APP_USER").val());
    </script>

  • Passback the report item value?

    how to passback the report item value?
    below is passback form item value...
    function passBack(Val1)
    opener.document.getElementById("P2_FID").value = Val1;
    opener.document.getElementById("P2_FID").focus();
    close();
    then what would be javascript fuction for passback report item value?

    Hey Skud,
    I am trying to implement something similar and definitely need assistance. Were you able to resolve this issue?

  • How to passback report item value

    Hi,
    Below coding is passback value from popwindow to the screen fields. P2_BOOKING_NO,P2_CUSTOMER_CODE,P2_REF_CUSTOMER_CODE are form fields. i have a report, that report have booking_no a reference key of form field booking_no. So both form and report table has booking no. So using join to retreive or passback the report data also. my problem is how to passback the report data. below coding is only for form field. i dont know how to passback report item value from popup window to the screen.
    popup window javascript:
    <script language="JavaScript">
       function passBack(passVal1, passVal2, passVal3)
       opener.document.getElementById("P2_BOOKING_NO").value = passVal1;
       opener.document.getElementById("P2_CUSTOMER_CODE").value = passVal2;
       opener.document.getElementById("P2_REF_CUSTOMER_CODE").value = passVal3;
       opener.document.getElementById("P2_REF_CUSTOMER_CODE").focus();
       close();
    </script>
    Link in popup window:
    javascript:passBack('#BOOKING_NO#','#CUSTOMER_CODE#','#REF_CUSTOMER_CODE#');
    page javascript:
    function callMyPopup (formItem1,formItem2,formItem3) {
        var formVal1 = document.getElementById(formItem1).value;
        var formVal2 = document.getElementById(formItem2).value;
        var formVal3 = document.getElementById(formItem3).value;
        var url;
      url = 'f?p=&APP_ID.:3:&APP_SESSION.::::P3_BOOKING_NO,P3_CUSTOMER_CODE,P3_REF_CUSTOMER_CODE:' + formVal1 + ',' +
    formVal2 + ',' + formVal3;
      w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
      if (w.opener == null)
      w.opener = self;
      w.focus();
      }How to do this?
    Skud
    Edited by: skud on May 20, 2011 5:47 PM

    Hey Skud,
    I am trying to implement something similar and definitely need assistance. Were you able to resolve this issue?

  • Pass Interactive Report Filters into Form

    Hi there,
    I've got a set of interactive reports which act as a drill-down through information. At each level there is a "Create" button, which presents a form for creating an item at the bottom level. The user does not have the ability to change the filters.
    For the top level, showing an empty form is fine. However we would like it if at the lower levels the values which have been filtered are passed into the form.
    Sort of like:
    Companies -> Create [New Employee]
    - Divisions [Company = Company] -> Create [New Employee - Company = Company]
    -- Location [Company = Company; Divsion = Division] -> Create [New Employee - Company = Company; Division = Division]
    if that makes any sense?
    Cheers,
    Andrew
    Edit: I've tried using IR_[Name] and #IR_[Name]#, no effect (unless I'm doing it wrong)
    Edited by: ad13 on 12-Aug-2009 02:38
    Edited by: ad13 on 12-Aug-2009 02:39

    Hi Andrew,
    It makes no sense to me. Are you saying that e.g. you select marketing department and then on the page navigated to your query shows people in the marketing? Or it automatically sets that persons department to marketing so when clicking "create" the user doesnt have to specify a department? If so then have a hidden item on the new page e.g. :P2_DEP. The previous page will send have a link on the department column which passes the value to this item. The insert statement (for create) or select query (for a report) will use this item as a basis for their process.
    If neither then explanation take 2 =)
    Mike

  • Interactive Reports: Can values for 2nd filter be limited by first filter?

    Hi,
    I have a question for the inbuilt filter tool of interactive reports in apex 4.0.2.00.07. Let's assume my IR data looks like:
    Col1:*Col2*
    A:1
    A:2
    B:3
    If I click on the header of Col1 I will be presented with filter possibilities "A" and "B" and can e.g. set a filter to Col1=A which leaves me with the following view
    Col1:*Col2*
    A:1
    A:2
    Now, if I click on the heading of Col2 to set another filter, I can still select value "3" as well.
    In some cases it would be nice if for any additional filter only those filter values were presented which are still relevant and allow further narrowing of results (like something in the way of LOV cascading). I.e. in our example only "1" and "2", omitting "3". Is there a way to do this?
    Best regards,
    Martin
    Edited by: MBK on Sep 27, 2011 5:35 PM
    Edited by: MBK on Sep 27, 2011 5:37 PM

    Praise goes to Anthony Rayner_ (http://anthonyrayner.blogspot.com/) for a very instructive blog and smooth example applications.
    Anyway, found out what the problem is: Some of my columns are derived from LOVs. In the column 'Report properties > List of Values > Column filter type' my default was 'Use defined list of values to filter exact match', so always all lov entries are available as filters. With e.g. 'Default based on Column type', the application now actually only states values present in the current (potentially pre-filtered) view.
    I guess sometimes it is easy... :-/
    Thanks for the help offered. Nice to see this forum working so smoothly
    BR,
    Martin

  • Need help on interactive report parameter value based on  a sequence

    At a press of a button..
    i have a form where i insert data in a table .a unique number is generated via sequence.
    And then a report is called .. all at the press of the same button
    Now i need to make a query such that
    select * from table_name where no1 = (select d_table_name_seq.currval from dual);
    Such statement is not possible in apex..
    So what should i do ..Use page_items
    How can i store the sequence value in a page item
    Edited by: susf on Nov 29, 2012 6:32 AM

    ok solved..using apex application item thanks

  • Report item value carried over to Form page

    Hi all
    I have a dynamic LOV (form a table) on a report. To redirect to a new entry page, I want the selected LOV column (consultants name) to show as a default in the Dynamic LOV of the new page. The reason for the dynamic LOV on the new page is so that the name of the consultant will most likely be the same, but the option will be given for the user to change the consultants name on the new entry page.
    cheers
    Ian

    Ian,
    You can pass parameters from one page to another.
    Create a branch to go to the second page and register the link-details.
    Leo

  • Interactive Report Charts

    When a user creates a chart in an interactive report, is it possible to set it so that clicking on a bar/pie wedge/value would take them to a report view filtered down to the records in that set?
    An example: we have an IR, and built a pie chart of users vs. number of requests; when we click on a particular user's wedge, it slides out from the pie slightly, but we'd prefer to be taken to a view of the IR filtered down to that user's requests (so we can view/edit them). Can we do this?
    -David

    That's what I thought. It's not what my users expect, of course, and would make a great feature (HINT, HINT, developers!).
    On the plus side, it's possible to build a report and a (separate) flash chart to give drill-down functionality. It's a more limited option, and might result in user confusion--why can I drill down in this report, but not in this other one?--but it is an option.
    -David

  • How to pass Application Item value in Javascript function.

    Hi,
    I have the following javascript in the HTML Form Element Attributes properties
    I am on Page1 and passing P1_DEPT_NO page item value. This is working perferctly fine and I am able to get the exact value of the page item
    onchange="javascript:function1($x('P1_DEPT_NO').value);"I am on Page1 and passing Application Item G_DEPT_NO value.
    The problem here is, I am not getting the Application item value inside the javascript function.
    I tried using alert(); and it's giving me value as undefined
    onchange="javascript:function1($x('G_DEPT_NO').value);"Just want to know, how to pass the Application Item value in Javascript.
    Thanks,
    Deepak

    Deepak,
    I am not an expert at Javascript, but the suggestin I made was because javascript is a case-sensitive language.. and therefore onChange is not the same as onchange.
    Not quite sure if that is causing the problem.
    Application items are not associated with a page and therefore have no user interface properties.
    Therefore, as mentioned in another post, the rendering would not work for application items.
    If it is for a single item, used only in this page, you could create a hidden page item and use it fo your purpose
    If you still want to look at application items and AJAX, This page contains examples of using AJAX to solve problems like the one you mentioned.
    http://www.oracle.com/technology/obe/hol08/apexweb20/ajax_otn.htm#t1b
    Thanks,
    Rajesh.

  • How to pass line item values in the table paramer of FM

    Hi all,
    When i will give the import of  the FM as VBELN"sales order number.
    I want to display all the line items for "PO Quantity in the out put of the FM.
    For this i thnk i have to pass the line item values in the table parameter of the FM.
    Can any body please tell me how to pass the values for the line items in the table parameter fo teh FM.
    Please give a example.
    Thanks

    Sub pLoopThroughPivotFields()
    Dim oItem As Excel.PivotItem
    Dim oField As Excel.PivotField
    Set oField = ThisWorkbook.Worksheets("Sheet1").PivotTables("Pivot Table name").PivotFields("field name")
    For Each oItem In oField.PivotItems
    oField.CurrentPage = oItem.Name
    'Put your copy code here
    DoEvents
    Next oItem
    End Sub
    Felipe Costa Gualberto - http://www.ambienteoffice.com.br

  • Unable to pass report column value to url in select statement. Please help

    Hi all,
    I am trying to pass the report column value as follows:
    select key, num,
    case when Attachmentcnt(KEY) != 0 then
    'f?p=&APP_ID.:91:&SESSION.:'' '':NO::P91_KEY,P91NUM,P91_PREVPG:'And I am passing values as follows:
    {noformat}
    '#KEY#,'#NUM#','9' ELSE null
    END Attachment
    from tableA
    {noformat}
    But, I am not able to figure out correct sysntax to pass these column values. Can anyone give me some help. I appreciate it.
    rgds,
    Suma.
    Edited by: sumak on Jun 23, 2009 12:11 PM
    Edited by: sumak on Jun 23, 2009 12:22 PM

    Suma,
    If you're trying to generate a column with a URL, try something like the following:
    select key, num,
    case when Attachmentcnt(KEY) != 0 then
    'f?p=&APP_ID.:91:&SESSION.:'' '':NO::P91_KEY,P91NUM,P91_PREVPG:'
    || tableA.key || ',' || tableA.num || ',' || :P91_PREVPG
    else NULL
    end
    FROM tableA;
    But the best way to pass these would include checksum values against the values of your parameters (to make sure a user doesn't hack them). You'll need to check the Apex User manual for details - See "Understanding Session State Protection".
    Good luck,
    Stew

Maybe you are looking for