Position of select list on report

Sometime when I add a select list to a report region, it will appear at the top of the report. However, when I do it to another report, it appears at the bottom.
Anyone have any ideas about this strange behavior?
By the way, I did change the sequence of the drop down to before the report sequence, but it didn't have any effect.

I would take a look at the Region that you selected the item be placed in. There are all different choices of where to display a region item if you look. There are two choices. One of the choices is to display an item in the region and the other is to display an item among this regions theme or something. I can't remember for sure but you will find your answer in the region definition.

Similar Messages

  • How to position a select list in the create region

    Hello,
    I would like to position a select list item in the create region, I think we can do that somehow using javascript but I don't have an idea how to make it.
    Thanks in advance!

    In this example you can see how to position the elements:
    http://apex.oracle.com/pls/apex/f?p=31517:242
    You don't need javascript for that. The element attributes are enough for that.
    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
    -------------------------------------------------------------------

  • Dynamic select list in report based on other report column

    I have a report with three columns. The first column is the Id, the second is the name that matches the Id. In the third column I would
    like to have a list of values that are dependant on the Id in the first column.
    This is the query I have.
    SELECT c.category_id,
    c.category_name,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(3, NULL,
    'SELECT option_name, option_id
    FROM invmodel_category_option
    WHERE category_id = APEX_APPLICATION.G_F01('||rownum||')') AS options
    FROM invmodel_model m,
    invmodel_category c
    WHERE m.model_id = :P2_MODEL_ID
    This doesn't give any error, but I do not get any select list.
    I have tried various other ways to reference the category_id within the APEX_ITEM function, including:
    WHERE category_id = c.category_id (c.category_id is an invalid identifier)
    WHERE category_id = ''#CATEGORY_ID#''' (number error)
    As an example what I would like to see is
    Id Name Options
    1 Fruit Banana, Apple, Orange
    2 Vegetable Carrot, Potato, Onion
    Can anyone please tell me if this can be done, and how.
    Thanks

    This can be done if you follow this example:
    http://apex.oracle.com/pls/otn/f?p=31517:176
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Select list in report region.Everything is not in order...

    I want to have a select item in a report region. The selected item in de select list is the "master" for the records in the region. It was working fine but after dropping another region on the same page the select list is now shown beneath the report instead of on top of the report. I can't find a way to get it back on top.
    As a matter of fact I can't find any attribute that determines what comes first in this situation. Is it bad practise to use a item in a report region?

    Thanks, that's it.
    Because I wanted this region to be above two other regions I moved it to page template 2. I did not notice the "items below/items above region content". I guess I need to create a page template region 2 items above content.

  • Dynamic Select List in Reports

    Hi,
    I have come across solutions to implement dynamic Select Lists. But can the same be implemented in a report.
    I have a report of 2 columns which are select lists. The Value of one depends of the other.
    Can this be done?
    Thanks in Advance

    Hi Abdullah,
    Thanks for the Tip. However, couple of queries.
    1) The first modification involves changing the query to : select lov_pkg.savekey() , colA, colB, ... But the function savekey takes a value.
    Ideally, I need this function to be called while loading and when the first select list is changed. How can this be done.
    2) Also, To make this change in query, I had to use (Use Generic Column Names (parse query at runtime only)) option. Now my Add Row button doesnt work? Can you tell me how that can be customized.
    Thanks,
    Sunil

  • Dynamic lov, Select List in Report

    Hi all,
    I have searched the APEX forum for dynamic lov but somehow no topic could really solve my problem.
    I have a report and 2 columns in this report are displayed as a select list. I want one of the select list show some values depending on the other select list in this report. If the value of the first select list is equal to some data the second select list should show a lov and otherwise nothing.
    All examples i have found so far seem to explain a solution for a select list item on the page and not for a select list in a report like in my case.
    Are there any advices or some links you can give?
    Thanks in advance
    Markus

    See http://htmldb.oracle.com/pls/otn/f?p=18326:54:1415328128204513::::P54_ID:1282
    and http://forums.oracle.com/forums/thread.jspa?messageID=1222153&#1222153

  • MSS - selection list in Reporting Tool

    Hi experts,
    I've designed two orgview groups and two report categories for Reporting Tool of MSS. I would like to display each orgview respectively depending on the category of the report I select.
    I know the portal calls the FM HRWPC_RFC_OADP_GET_ORGVIEWGRP to create orgview, but have no idea how should I enhance or modify the FM. Any idea? Thanks.
    Regards,
    Shane

    Hi,
    Can you give more details pl?
    Srini

  • Select List beside Interactive report

    Hi All,
    I am not able to place a SELECT LIST item beside an Interactive Report.
    What is happening:
    <selecting columns to search> Go Action SELECT LIST*
    I n t e r a c t i v e  R e p o r t
    Even though I am able to place a button beside the Interactive Report using the Button Position attribute for the button.
    <selecting columns to search> Go Action Button
    I n t e r a c t i v e  R e p o r t
    Sadly there is no such attribute for a SELECT LIST.
    What I want:
    |<selecting columns to search> Go Action SELECT LIST
    I n t e r a c t i v e  R e p o r t
    I tried using the Grid Layout Attributes but to no avail.
    Thanks,
    Sombit

    Hi,
    I do not know is that possible without styles or JavaScript.
    You can try this.
    Place to page JavaScript Execute when Page Loads
    $("#apexir_TOOLBAR").append($("#Px_YOUR_SELECT_LIST"));Change Px_YOUR_SELECT_LIST to your select list name
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai
    Edited by: jarola on Mar 27, 2013 8:32 AM

  • Positioning/Sorting in Selection list while Refrencing in VA01

    Hi!
    When using VA01 with reference, on Selection list I want to find / position cursor on all items with certain material but program positions me only on first.
    Is it somehow possible to go on next item with entered material or  is it possible to sort items by materials on selection screen?
    Regards,
    Ante

    Hello Godhuli,
    Thanks for the reply, actually that sorting option change the sorting order in the result (i.e on the grid which is displayed when query is actually executed).
    My question was when i have some selection criteria for some variables in a report and on the first screen a list of all those variables appear where i can select or write down the filter values. there i have the option to click so a new small window popsup which shows me the some possible values of that variable and i select from that (based in =,[],* etc....). I want value in that Pop Up window to be sorted on text and by default those values are sorted on "Keys"[ and even in my query properties-> Display options, i have only selected to show "text" and to sort on that in ascending order] so it seems that those options are not governing what i want to change.
    Thanks in advance for your help.
    Regards
    Akshat

  • Report -- filter with selection list -- show all values after select page

    Hello!
    I have the following problem:
    - I have a report
    - this report can be filtered with a selection-list
    - the selection list is based on dynamic LOV and has a null-value
    - I added the code of the report the following, to filter the report after choosing a value of the selection list:
    ... and (instr(type, decode(:P8_FILTER_type, '%null%',type,:P8_FILTER_type)) > 0)
    This works very well.
    But my problem is: When the user logs out and the next time, he logs in, the selection list shows " --- show all values --- " (my null-display-value) and the report is empty "no values found".
    ---> I want to show the first time, the page is selected ALL the values of the report. (this is now only possile if I press the button which belongs to the selection list)
    I hope, somebody understands my problem.
    Thank you so much,
    LISA

    Hello Lisa,
    The first time it's probably NULL.
    So what you can do in your where: (instr(type, decode(NVL(:P8_FILTER_type,'%null%'), '%null%',type,:P8_FILTER_type)) > 0)
    Off topic: I also wonder if that where clause can't be simpler? Do you rely need the instr?
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Refresh PL/SQL Report Region (not Page) using Select List value

    Hi,
    I've got a report region based on a 'PL/SQL function body returning a SQL query'which gets generated on selecting a value from a Select list item, The Select List action is 'Redirect and Set value' but this causes the whole page to refresh rather than just the report region. I've tried to refresh the report only using a dynamic action on the Select List item (Action now reset to  'None') but now the report is not appearing on choosing from the List. Can anyone suggest a solution that will allow me to refresh this report without refreshing the page? I am using APEX 4.2.2 and the report syntax is as follows:
    DECLARE
      v_statement VARCHAR2(500);
    BEGIN
      SELECT query_text
        INTO v_statement
       FROM sql_queries
       WHERE query_id = :P2_QUERY ;
       RETURN v_statement ;
    END ;
    where P2_QUERY is Select List Item,
    regards,
    Kevin.

    KevinFitz wrote:
    The report region being displayed is conditional on P2_QUERY item being NOT NULL. I assume the region not appearing is because the Action for the Select List Item is set to None and so P2_QUERY is always NULL.
    No, the region is not appearing because it is conditional on P2_QUERY being NOT NULL. This means that the report region never exists on the page shown in the browser, so it can't be dynamically refreshed. (Dynamic refresh doesn't evaluate region conditions, and it only re-renders the report content, not the entire region.)
    Remove the condition on the report region, check the refresh is working, then reconsider exactly what the requirements here are. If you want the region to appear only when P2_QUERY has a value, and you want it to be refreshed without submitting and re-rendering the page, then the region needs to be hidden rather than conditionally rendered, and shown via a dynamic action when P2_QUERY gets a value.
    I tried adding an additional Set Value True Action for the DA event but got an error as listed above,
    All irrelevant if Page Items to Submit on the region is used properly.

  • Dynamic Action based on Interactive Report Select List Value

    I'd like to perform a Dynamic Action when a user selects one of 3 options from a Select List within an Interactive Report:
    select APEX_ITEM.SELECT_LIST(
    p_idx => 3,
    --p_value         =>   deptno,
    p_list_values => 'Copy;Copy,Delete;Delete,Export to PDF;Export to PDF',
    --p_attributes    =>   'style="color:red;"',
    p_show_null => 'YES',
    p_null_value => NULL,
    p_null_text => '--Select--',
    --p_item_id       =>   'f03_#ROWNUM#',
    p_item_id => 'P6_IR_SELECT_LIST',
    p_item_label => 'Label for f03_#ROWNUM#',
    p_show_extra => 'YES') "Actions"
    from dual;
    When building the Dynamic Action, I chose the following values from the Advanced wizard
    Event: Select
    Selection Type: DOM Object
    DOM Object: P6_IR_SELECT_LIST
    Condition: Equal to
    Value: "Delete"
    True Action: Execute Javascript Code: Alert('Here');
    Doesn't seem to be firing...can anyone help?
    Thanks in advance,
    John

    Hi,
    I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
    Try using a javascript expression instead, like this:
    $v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
    Luis
    Edited by: Luis Cabral on Feb 29, 2012 4:45 PM

  • Help with Select Lists in Classic Report

    Hello,
    I working with APEX 4.1. Oracle 11.
    I have a simple classic report with 4 columns (Username, Role, Read, Update). The Read and Update columns are Select Lists with values of "Yes", "No".
    Report looks like this:
    Username Role Read Update
    JSmith Admin Yes Yes
    LJones Dev Yes No
    My requirement, is that when a user selects Yes from the Update select list, the value of the associated Read column needs to change to Yes as well for that particular Username. The change has to occur upon selection of Yes from the Update select list.
    Im not very strong with javascript, but for testing purposes I applied: onchange="alert('hi');" on the Update column. When I make a change to the Update select list, the alert does pop up.
    Can anyone suggest how I can implement the change to the associated Read value of Yes if the Update value chosen is Yes, for that particular row.
    Thank you,
    Laura

    LauraK wrote:
    I working with APEX 4.1. Oracle 11.
    I have a simple classic report with 4 columns (Username, Role, Read, Update). The Read and Update columns are Select Lists with values of "Yes", "No".
    Report looks like this:
    Username Role Read Update
    JSmith Admin Yes Yes
    LJones Dev Yes No
    My requirement, is that when a user selects Yes from the Update select list, the value of the associated Read column needs to change to Yes as well for that particular Username. The change has to occur upon selection of Yes from the Update select list.
    Im not very strong with javascript, but for testing purposes I applied: onchange="alert('hi');" on the Update column. When I make a change to the Update select list, the alert does pop up.
    Can anyone suggest how I can implement the change to the associated Read value of Yes if the Update value chosen is Yes, for that particular row.Should be possible to do this using a Dynamic Action without writing any (or much) JavaScript. The complexity in this case is that you're using items in a report rather than standard page items.

  • Report with select list and link to call another report

    Hi,
    I am trying to do 2 reports (REPORT1 and REPORT2).
    The first is a summary report (REPORT1).
    This report will display sales figures for the year. Now, I need to have a select list in the result set that will have 2 options, depending on which option is chosen, I want to call REPORT2 with the select list as a parameter. How can I do this ?
    Let me try to explain what I did.
    I created REPORT1 on Page 100
    SELECT YEAR, sum(YTD_SALES), APEX_ITEM.SELECT_LIST(1,'DEPARTMENT','Department;DEPARTMENT,Division;DIVISION') Drilldown FROM SALES_ANALYSIS WHERE YEAR > 2000
    GROUP BY YEAR ORDER BY YEAR
    I created 2 hidden items namely P100_YEAR and P100_DRILLDOWN
    I also made the column YEAR as a link and specified both P100_YEAR and P100_DRILLDOWN as parameters to be passed.
    Next, I created REPORT2
    SELECT YEAR, DECODE(:P100_DRILLDOWN, 'Department', department, 'Division', Division) dept_div, sum(YTD_SALES) ytd_sales
    FROM SALES_ANALYSIS
    WHERE YEAR = :P100_YEAR
    When I run Report 1, it's fine, when I choose either Department or Division from the Select List and click on the link to call Report 2, report 2 is displayed, but the value being passed for P100_DRILLDOWN is not correct and as a result, I am unable to get correct results for Report 2
    Am I missing something ? Are there any alternate ways to do what I'm doing ?
    Thanks,
    Ashok

    Hi Ashok,
    The link definition will not know the value selected in the list as it is constructed only when the page is being rendered. You would need to create some javascript to handle this. I've done that here: [http://apex.oracle.com/pls/otn/f?p=267:182]
    The link on the EMPNO column has been defined in the HTML Expression setting for the column instead of the Link section. The HTML Expression that I have used is:
    &lt;a href="#" onclick="javascript:doDrilldown('#EMPNO#',this);"&gt;#EMPNO#&lt;/a&gt;And, in the page's HTML Header setting, I have added in:
    &lt;script type="text/javascript"&gt;
    function doDrilldown(empno,group)
    var g;
    var p = group.parentNode;
    while (p.tagName != "TR")
      p = p.parentNode;
    var x = p.getElementsByTagName("SELECT");
    if (x.length &gt; 0)
      g = x[0].value;
    var url = "f?p=&APP_ID.:183:&SESSION.::::P183_EMPNO,P183_GROUP:" + empno + "," + g;
    document.location.href = url;
    &lt;/script&gt;When a link is clicked, the doDrilldown function is called passing in the EMPNO value and the "this" object (which identifies the object triggering the call). The function starts from that object and goes up in the HTML tag tree to the nearest TR tag (the row tag that the link is on) and then finds the first SELECT list item on the row and gets its value. It then constructs a URL using this and the EMPNO value and performs a redirect to the second page (page 183 in this example).
    Andy

  • Report displayed based on Select List condition

    Hello,
    Any help would be appreciated.
    I have a report and a select list, P55_MISSING. The select list contains the column names in the table that the report displays.
    If I select one of the column names, I would like to display all records where that column name is null.
    The sql I have at the moment is:
    select
    "ID",
    "APPLICATION",
    "SHORT_DESCRIPTION",
    "DESCRIPTION",
    "OPC_NET_NAMES",
    "PROCESSING_SCHEDULE",
    "PROCESSING_REGULARITY",
    "PLATFORMS_INVOLVED",
    "UNIX_DIRECTORIES",
    "SOURCE_FILES",
    from "APP_METADATA"
    where :P55_MISSING IS NULL
    If I select 'source files' for example, I would expect to see 3 out of 4 records stored in the table. However, I receive the message 'no data found'.
    Any help would be great. Thank you.

    Hi
    In order to doe this you will have to use dynamic sql (so you have to change your report type to 'SQL Query (PL/SQL Function Body Returning SQL Query)').
    It would then look something like this...
    DECLARE
    l_sql VARCHAR2(32767);
    BEGIN
    l_sql := 'SELECT id,
                     application,
                     short_description,
                     description,
                     opc_net_names,
                     processing_schedule,
                     processing_regularity,
                     platforms_involved,
                     unix_directories,
                     source_file
              FROM   app_metadata
              WHERE ';
    l_sql := l_sql||:P55_MISSING||' IS NULL';
    RETURN l_sql;
    END;Sorry, I can't test this as I don't have your tables.
    Cheers
    Ben

Maybe you are looking for