LOV In A Report ???

Is it possible to use a LOV in a Query Wizard Report and do a batch update upon changing the lov value for each record?
Thanks,

Hi,
You cannot have any events with reports. You can use forms to do this. You could use a Master-Detail form.
Thanks,
Sharmila

Similar Messages

  • How to display the dispaly-value of a static LOV in a report?

    Hi,
    I want to display the Display-Value of a lov in a report
    How can i procede?
    thanks

    ok,
    My problem is the following:
    Say that I have created a static lov 'lov_colors' with the following values:
    display-value return value
    red 1
    blue 2
    green 3
    And i have a table 'object' wich has the following fields :
    object_name varchar2(100);
    object_color number;
    I want to make a report on the table object but in stead of displaying the number of the color,
    I want to display the name of the color that is in Lov_colors
    I hope that my question is clear.
    thank you

  • Cascading LOVs in a report region

    Can you create a cascading LOV in a report region? All of the examples I find are in a HTML region.

    Swosh,
    I think that this approach is better than the one from Vikas:
    http://htmldb.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
    -------------------------------------------------------------------

  • LOV SELECTION AND REPORT ON THE SAME PAGE

    Hi Friends ,
    Here is what i am requesting your help ...My requirement is to show one dropdown /lov and a report underneath it ..like if you have selection 1.pa 2.ky 3.ny 4.nj
    in the lov and if user selects nj onchange the report should show up on the same page ??? Is it possible in portal using forms and reports or ?? If so please help ???
    Vis

    Hi,
    You can use javascript to do this. In the onChange event you can call a new url.
    window.open(new_page_url_with_report);
    Thanks,
    Sharmila

  • POP LOV in classic Report not in a interactive Report

    My oracle version Oracle Express Aplication 11g
    Dear Forum
    We need a CLASSIC report where i can define what information my report will show.
    For example:
    My Report contain
    ID NAME DATE
    In Drag and Drop layout I create two data pickers cause I need to choose information between Date_picker_1 and Datepicker_2. both of them correspond to DATE
    In my region source in classic report I write something like this:
    Select id, name where DATE between :Date_picker_1 and :Datepicker_2 then Ichoose the months but nothing happen.
    I know that in the report interactive you can do that, but my boss doesnt' like interactive report (I dont know why) so my problem is in the Classic report.
    Danny Lima
    Ecuador
    PD: I'm not speak english very well

    >
    Please update your forum profile with a real handle instead of "897381".
    Also the subject of this thread—POP LOV in classic Report not in a interactive Report—doesn't appear to be relevant the question asked. There's no mention of a Pop-up LOV here?
    My oracle version Oracle Express Aplication 11gAlways state full version numbers, and include
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    as well.
    We need a CLASSIC report where i can define what information my report will show.
    For example:
    My Report contain
    ID NAME DATE
    In Drag and Drop layout I create two data pickers cause I need to choose information between Date_picker_1 and Datepicker_2. both of them correspond to DATE
    In my region source in classic report I write something like this:
    Select id, name where DATE between :Date_picker_1 and :Datepicker_2then Ichoose the months but nothing happen.Always post code wrapped in <tt>\...\</tt> tags. And always post the actual code or a realistic reduced test case: that query is not valid SQL.
    I know that in the report interactive you can do that, but my boss doesnt' like interactive report (I dont know why) so my problem is in the Classic report.Nothing to do with the report type. It's because all APEX items are actually VARCHAR2s. For proper comparison semantics with NUMBERs or DATEs in SQL explicit conversion is required:
    select id, name
    from foo
    where bar between to_date(:date_picker_1, 'DD/MM/YYYY') and to_date(:date_picker_1, 'DD/MM/YYYY')Where 'DD/MM/YYYY' is the format mask used in the datepicker items.

  • Lov+shortcut of report 6i on user desktop

    hi all
    i have created a formletter type of report in arabic using  reports 6i
    the content is coming fine ,i mean the arabic data from database
    like employee name ,employee designation in arabic is coming fine,
    i require to create an Lov on the companies this certificate can be submitted
    the issue is i am able to enter  values in LOV in arabic ,but when the report is run the user is able to see only garbage vales in Lov
    when any one value is picked  from Lov  and the report is run the corresponding garbage value gives the correct arabic value
    how can i let the user see arabic values in LOV?
    also please guide me on how to create a shortcut of this report on the user's desktopthanking in advance
    Edited by: makdutakdu on Mar 23, 2010 10:23 AM

    Take a look at these: http://blogs.oracle.com/roller-ui/bsc/spider.jsp?entry=MT%3aENTRY%3a5029
    The other option is to use the security set up via Answerrs (subject area) and use the OBIEE data source to generate data for the LOVs..
    Thanks,
    Bipuser

  • Cascade LOV display as text (based on LOV) in clasic report

    Hi Experts,
    It is possible to use cascade LOV - item is displayed as text (based on LOV) in clasic report ? (Display AS)
    I would like to reference to another column displayed in the report in LOV.
    Example:
    select description d,
           val_strg2 r
      from domain_cntr
    where cntr_name = 'CH_PRIM_ST_NOTE'
       and val_strg1   = #PRIM_STATUS#
       and active_idc  = 'Y'#PRIM_STATUS# is the column i would like to reference.
    Is it possible ? IN CLASIC REPORT
    regards
    J :D

    Hi,
    >
    Is it possible ? IN CLASIC REPORT
    >
    Yes.
    It may a rather long thing to code, so be ready for it.
    Here is how:
    a. Use APEX_ITEM API in your Report Query. Make sure you specify the p_item_id parameter , using #ROWNUM#
    b. In the Parent LoV wrtie an onChange event trigger that fires a JavaScript function and pass the ID of the element .
    c. In this JavaScript function make an AJAX call to get the &lt;select&gt;...&lt;option...&gt;...&lt;/select&gt; , in short the complete HTML of the child LoV
    d. Push this HTML fragment into the Child Lov. You construct the ID of the target based on the ID of parent . E.g. f01_0001 to f02_0001.
    e. You may additional keep the child invisible or disabled initially, and then make it visible/enable it after it is populated.
    Regards,

  • Better display values from shuttle LOV in a report

    Hi,
    I have created a shuttle LOV in a form and then a report that shows (among other things) the values chosen from this shuttle LOV.
    If the user choose more than one value I don't like how they get displayed in the report (they have to go into a single cell) because
    the user sees a list of items separated by ":" .
    Is there a simple way to show them for example as a bullet point list or in some other nicer human readable format?
    Thanks,
    Antonella

    Hi user13140530,
    *1. I think you have colon separated data in your database.*
    //create one function
    create or replace function DISPLAY_FORMAT
        (L_ID in NUMBER)
        return VARCHAR2 is
    v_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
    val_list varchar2(4000) := '';
    val_list1 varchar2(4000) := '';
    begin
    SELECT SHUTTLE_VALUE INTO  val_list FROM YOUR_TABLE WHERE ID = L_ID;     // select shuttle value according to your table structure.
    v_selected := APEX_UTIL.STRING_TO_TABLE(val_list);
    FOR i IN 1..v_selected.count
    LOOP
        val_list1 := val_list1||i||'.'||v_selected(i)|| '<br>';
    END LOOP;
    RETURN val_list1;
    end;
    /*2. call the above function in your report as a column.*
    // suppose this is your report query
    select ID, NAME, DISPLAY_FORMAT(ID) from your table_name;Try the above code,hope this may helps you.
    Regards,
    Jitendra

  • Two LOVs in same report customization form causes problems

    My report includes two parameters which are set by the user using dynamic LOVs in the customization form. The report used to only have one parameter and this worked fine. After including the second one only one of the LOVs work as they should. The second one doesn't trigger a value to be sent to the report. Working separately the second parameter/LOV also works as it should.
    The code:
    SELECT distinct ID, STILLING, F_DATO, STILLING_NAA, DATO
    FROM JOBBSOKNADER
    WHERE STILLING in :lov_stillinger
    union
    SELECT distinct A.ID, A.STILLING, A.F_DATO, A.STILLING_NAA, A.DATO
    FROM JOBBSOKNADER A, JOBBINT_KOBL B
    WHERE A.ID = B.JOBBSOKNADER_ID
    AND A.STILLING = '(apen soknad)'
    and B.INT_ID in :lov_interessefelt

    Hi,
    Are you trying to use dependant LOVs i.e second LOV depends on the value selected in the first LOV. If you are trying that, then reports does not support that. You have this facility only in forms.
    If I have understood wrong, then please give me the query you used for the LOVs
    Thanks,
    Sharmila

  • Select LOV in a report

    hi,
    I'm having a problem with the select LOV (query base) in my report. I'm using Application builder to construct my report. My query is this:
    Select proj_desc name, proj_code code FROM TM_Proj
    where (substr(:p1_customer,1,1) = '*' or :p1_customer is null)
    union
    Select proj_desc name, proj_code code FROM TM_Proj
    where substr(:p1_customer,1,1) != '*' and :p1_customer is not null and cust_gen_nbr = :P1_customer
    I consistantly get this error: ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I don't get this problem if I change it to "display as text based on LOV". However, when I changed it to "Popup LOV based on query," I get Popup List of Values authentication failed.
    Can anyone provide any insight on this?

    this is from ApEx forum, it may help;
    Generated HTML for report rows cannot exceed 32K. Select lists must be >> reasonable in size. It appears that you have too many entries in them to use them >> thrice per row. You should consider popup LOVs instead.
    Scott
    ORA-06052 on Tabular Form w/3 select lists - LOV's.
    Kind regards,
    Tonguç

  • Error in multi-select LOV in Portal Report parameter

    Hi,
    I have a Report from SQL Query that currently has a combo-box parameter that's linked to an LOV. Now the client requires for this parameter to be a multiple select instead of a combo box.
    I changed the LOV display to multiple select in Customization Form Display Options, and I changed the where clause of the query to this:
    AND CASE WHEN (SUBSTR (pav.name, INSTR (pav.name, '.')-1, 1) BETWEEN '0' AND '9')
    OR (UPPER (SUBSTR (pav.name, 1, INSTR (pav.name, '.'))) IN ('TBD.', 'PLCV.', 'EPLCV.'))
    THEN SUBSTR (pav.name, INSTR (pav.name, '.') + 1)
    ELSE pav.name
    END IN (NVL (:p_vacancy_name, pav.name))
    It works when I select only one value in the LOV, but gets the following errors when I select more than one:
    *** If Output Format selected is HTML:
    Failed to parse query
    Error: ORA-00933: SQL command not properly ended (WWV-11230)
    Critical Error in wwerr_api_error.get_errors! SQL Error Message: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-)
    Error: Unable to execute query (WWV-10201)
    No row returned.
    *** If Output Format selected is Excel:
    ID;ORACLE;N;E P;PGeneral P;P#,##0 P;P#,##0.00 ; ; Global Formatting ; F;C1;FG0R;SM1 ; ; Title Row ;     
    Error:     Unable to perform query (WWV-10202)
         ORA-01001: invalid cursor (WWV-11230)
    Can anyone help me fix these errors?
    Thanks,
    Lorena

    Follow Up:
    After some discussions with Steven I tried to move some stuff around. Eventually I found out that if the ViewObjects on which these two table-blocks are based are built on different Entity Objects, then the application works as desired.
    So the conclusion seems to be: it is not a good idea to have - probably in the same UIModel - multiple Iterators based on ViewObjects that are based on the same EntityObject.
    Note: this is only a work-around: I still do not know exactly what goes wrong and why! It can be in JHeadstart runtime (not so likely), in ADB Binding Layer (very likely) and potentially in ADF BC (quite unlikely).
    best regards,
    Lucas

  • Long LOV for a report region attribute

    I have an updateable report based on a SQL Query with a few attributes in it. One of the attributes is an id referencing another table (a foreign key). I would like to display a descriptive name from the referenced table in place of the id and provide a LOV to choose from when updating or creating a record.
    'Select List (named LOV)' or 'Select List (query based LOV)' Tabular Form Element would do it nicely, but the problem is that the LOV is very long (hundreds of records). 'Popup LOV' (either named or query based) is perfect in terms of selection, but it returns the id into the element. So effectively I am looking for an element with functionality of 'Select List', but presentation of 'Popup LOV'.
    Hope the above is query. Any suggestions are appreciated.

    Thank you for a quick answer, Michelle.
    Unfortunately this option is not available in the 'Display As' list in the 'Tabular Form Element' section of the attribute definition screen. Here is the full list of the options:
    <ul>
    <li>Standard Report Column</li>
    <li>Display as Text (displayed as LOV, does not save state)</li>
    <li>Display as Text (saves state)</li>
    <li>Display as Text (escape special characters, does not save state)</li>
    <li>Date Picker</li>
    <li>Text Field</li>
    <li>Text Area</li>
    <li>Select List (static LOV)</li>
    <li>Select List (named LOV)</li>
    <li>Select List (query based LOV)</li>
    <li>Hidden</li>
    <li>Popup LOV (named LOV)</li>
    <li>Popup LOV (query based LOV)
    </li>
    </ul>

  • Popup KEY LOV in Interactive Report not work as expected

    Hello,
    in an Interactive Report, i have added in a Region a Popup Key LOV (Displays description, returns key value). This LOV works ok in other Forms. But in the Report item (Session State variable) instead of returning the Return Value of the LOV, it returns the Displayed Value (inspected the Session). How can i make it work as expected ?
    TIA

    At the moment, i am ok with all the functionality of the IR, which is finished. What i want is to use some extra items on the upper part of the page that aid the user to restict in large part the IR query result. Some of these are ideal candidates for LOVs - I want LOV to diplay the Display values and after user selection to return the Return value, either to page item or to other variable. How can i achieve this? Any idea? So far the LOV returns the display value in the Item AND session corresponding variable.

  • Implement a Pop-Up LOV in a report.

    Hi,
    I would like to use the 'HTMLDB_ITEM' item to generate a textfield with a link to a Pop-Up LOV in an Apex report. Anyone ever tried that before? Thanks.
    Edited by: Jacky411 on Jan 14, 2009 2:49 PM

    Hi Denes,
    Thanks for your reply. I looked at your page, but I'm not sure if it relates to my issue.
    Here's a piece of the generated HTML for the pop-up lov:
    &lt;span class="lov"&gt;
    &lt;label class="hideMe508" for="f03_0004"&gt;f03_0004&lt;/label&gt;
    &lt;input id="f03_0004" type="text" value="U41" maxlength="2000" size="8" name="f03"/&gt;
    &lt;img align="middle" style="vertical-align: middle; cursor: pointer;" alt="List"/&gt;
    &lt;/span&gt;Notice that there is an image tag, but the src attribute is not there...as a result the browser displays the alt text List.
    If I missed your solution I apologise...

  • Dynamic LOV based on report column

    HI,
    I've a standard report with Two columns. Column1 is standard Report Column and Column 2 is a LOV based on an SQL Query.
    Now I need to filter the LOV (add a where clause) based on the value in the column1.
    For example, consider Column1 as "country" and column2 as "state". so the in column2(LOV), user should see only the list of states belongs to the corresponding country(Column1)
    Please note that the report is based on an SQL query
    Any clue on how to do this.
    I'm using APEX4.1.
    Thanks in advance
    Prasanth

    I think you are looking for this https://forums.oracle.com/forums/search.jspa?threadID=&q=tabular+form+cascade&objID=f137&dateRange=all&userID=&numResults=15&rankBy=10001
    please search the forum before posting a question
    Thanks

Maybe you are looking for