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:
<span class="lov">
<label class="hideMe508" for="f03_0004">f03_0004</label>
<input id="f03_0004" type="text" value="U41" maxlength="2000" size="8" name="f03"/>
<img align="middle" style="vertical-align: middle; cursor: pointer;" alt="List"/>
</span>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...

Similar Messages

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

  • Pop-up LOV - Internal Server Error

    I have a pop-up LOV with the query as below:
    select distinct a1 d, a1 r
    from temp
    where ((:P10111_X1 = 2 or :P10111 is null) or
    (:P10111_X1 = 1
    and (col1 like :P10111_col1 or :P10111_col1 is null)
    and (col2 like :P10111_col2 or :P10111_col2 is null)
    and (col3 like :P10111_col3 or :P10111_col3 is null)
    and (col4 like :P10111_col4 or :P10111_col4 is null)
    and (col5 like :P10111_col5 or :P10111_col5 is null)
    and (col6 like :P10111_col6 or :P10111_col6 is null)
    and (col7 like :P10111_col7 or :P10111_col7 is null)
    and (col8 like :P10111_col8 or :P10111_col8 is null)
    and (col9 like :P10111_col9 or :P10111_col9 is null)
    and (col10 like :P10111_col10 or :P10111_col10 is null)
    and (col11 like :P10111_col11 or :P10111_col11 is null)
    and (col12 like :P10111_col12 or :P10111_col12 is null)
    and (col13 like :P10111_col13 or :P10111_col13 is null)
    and (col14 like :P10111_col14 or :P10111_col14 is null)
    and (col15 like :P10111_col15 or :P10111_col15 is null)
    and (col16 like :P10111_col16 or :P10111_col16 is null)
    and (col17 like :P10111_col17 or :P10111_col17 is null)
    and (col18 like :P10111_col18 or :P10111_col18 like '3')
    and (col19 like :P10111_col19 or :P10111_col19 like '3')
    and (col20 like :P10111_col20 or :P10111_col20 like '3')
    and (col21 like :P10111_col21 or :P10111_col21 like '3')
    and (col22 like :P10111_col22 or :P10111_col22 like '3')
    and (col23 like :P10111_col23 or :P10111_col23 like '3')
    and (col24 like :P10111_col24 or :P10111_col24 like '3')
    and (col25 like :P10111_col25 or :P10111_col25 like '3')
    and (col26 like :P10111_col26 or :P10111_col26 like '3')
    and (col27 like :P10111_col27 or :P10111_col27 like '3')
    and (col28 like :P10111_col28 or :P10111_col28 like '3')
    and (col29 like :P10111_col29 or :P10111_col29 like '3')))
    order by col1;
    The query is fine and works properly.
    But when i try to open the POP-UP window, instead of displaying the List of values it gives a message "Internal Server Error" .
    The error on the error log at the server is as belows:
    [Fri Aug 11 14:46:04 2006] [error] [client 192.162.1.173] [ecid: 1155287764:192.162.1.227:5037:0:3454,0] mod_plsql: /pls/ilclpdv3/wwv_flow_utilities.gen_popup_list HTTP-500 ORA-02005: implicit (-1) length not valid for this bind or define datatype
    When I remove any 3 'AND' conditions from the where clause it works properly.
    I hope its with the size of the LOV query.
    is there aany way to overcome it.
    Thanks
    Ameya.

    Ameya - That is correct. You may have to call a function from within the query to shorten it. The function can refer to the page items using v('ITEM') notation. In APEX 2.2, the popup LOV implementation has been improved somewhat so that this kind of thing should not occur.
    Scott

  • Displaying item value on basis of pop up lov value

    Hi ,
    I have created a form on which i have a pop up lov item whose values are getting displayed on basis of a table column.Now my requirement is that when a user select a value(for ex: say an code i.e 123) from pop up lov then on basis of this value an another value pops up which shows the description related to this code.I have this description in another column of same table from which i have displayed pop up lov values.
    I tried to implement this by creating a display only item on form and taking source value of this item from sql query returning single value as code is primary key but I am unable to fetch value.I have written the following query:
    select model_code from BL_VEHICLE_ENGINE_NAME where catalog_code=:p9_catalog_code
    Here p9_catalog_code is the item displaying pop up lov.
    when i am specifying a particular value rather than bind value as (select model_code from BL_VEHICLE_ENGINE_NAME where catalog_code=123) then the description corresponding to this value is getting displayed through display only item.
    How can i fetch value from pop up lov and utilize that value to display required description.Is displaying description through display only item correct or is there any other way around through which this description could be displayed more effectively.
    Thanks
    Abhi

    Hi Abhi,
    Instead of pop up lov you can use cascade lov ie when u have data like say if u select code from ur table 123 and it has more than one description then u can use cascade lov it will query upon the first lov what u required.
    Or coming to ur problem
    for code pageitem say p1_code u are using pop lov (you can try select list instead of pop up lov )
    and for description u r using display column.
    and give the source as return single query only
    select descp from table where code=:P1code.
    Hopes this helps you
    Thanks & Regards
    Srikkanth.M

  • 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

  • Pop-up LOV, add Element Attributes?

    Hello again,
    I have a pop-up LOV (named LOV) on a column in the detail section of a master-detail form (imagine the "Employee Num" being a pop-up LOV in the image linked below[1]). This field also allows normal user entry just like any input field (this is, input is not disabled).
    However, while viewing the source HTML this field just an ordinary input field, I cannot seem to add an element attribute via the usual means. Just for arguments sake I want an alert box on each keypress, usually I would just add the line: onkeypress="javascript: alert('hello');" in the Element Attributes under the "Column Attributes" section. This is not working for me, however.
    How would I go about calling a JavaScript function (on a keypress, say) using this pop-up LOV input method?
    Thank you for you time.
    I am using APEX version: 4.0.2.00.09
    [1] http://imageupload.co.uk/viewer.php?file=yu7i83h5dpk5cy0npsy0.png
    Edited by: 986065 on Feb 14, 2013 1:51 PM

    Hello Bob,
    Sure you can enter a button on the template, but the problem is how to find out which page to call when the Add button is pressed.
    You can write your own LOV page(s) and attach those to a field (i.e. by adding a clickable image in the post element text) and then you can have all the control you want.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

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

  • Error while Using a POP-UP LOV

    Hi ,
    I am using the below query for my pop-lov , the query works fine with a select list but when i change it to a pop-lov (which is my requirement) I get the following error:
    "Popup List of Values query is invalid, a display and a return value are needed, the column names need to be different" . I am not sure why ??
    Query :-
    If :p22_region = 'N' then
    return
    'select 1 d , 1 r
    from dual ';
    else
    return
    select distinct name d , name r
    from tab1@ dblink X
    where
    (X.end_date>=sysdate or X.end_date is null)
    and X.room_id > 0
    and X.region in (''NORTH AMERICA'',''LATIN AMERICA'')
    and upper(X.country) like decode(:p22_country,''N'',''%'',upper(:p22_country))
    order by 1
    End If;
    Thanks,
    DJ
    Message was edited by:
    Deepa J

    I need the dblink reference as part of the query
    That's not important. You do not need the reference if without the reference you can demonstrate the same problem. Anytime you present a technical problem, you should reduce it to the most concise example possible so that those whose help you seek can focus on the real problem and not have to waste time eliminating extraneous information. This is a key part of posing a proper technical question.
    As I already said, the additional advantage of losing the dblink reference (if you can) is so you can demonstrate the same problem (greatly reduced, I would hope) on apex.oracle.com.
    Now, maybe this all has to do with the dblink reference but it's important that you do the leg work to prove or disprove that. And then you can incrementally get rid of other elements of the query that prove not to be relevant to the basic problem.
    ...does pop up lov support pl/sql syntax like the select list ?
    Yes there should be no difference.
    Scott

  • How to avoid IE pop-ups when running BIP reports(w/ SSO) from Oracle Forms?

    Hi all,
    We have an OID/SSO integrated Oracle Forms and BI Publisher environment in place. We/users expect the same behavior when running Oracle Reports or BIP reports from Oracle Forms... which means receiving no intermediate pop-ups and simply getting the report output to appear in the relevant target application(PDF, EXCEL, etc). Currently we get multiple security warnings when running BIP reports from Oracle Forms.
    Here's a list of Pop-ups contents:
    1. "File Download - Security Warning" Do you want to open or save this file? -> OPEN
    2. "File Download" Do you want to save this file? Name = ma01r500.pdf -> YES
    3. "Save AS" -> pick desktop and save.
    4. "Download Complete" -> OPEN
    We have experimented with setting various IE security settings to LOW/enabled and still get these pop-ups.
    Any suggestions is much appreciated.
    Thanks,
    Yahya

    FYI... Metalink Note 282996.1 has resolved the bigger issue with the extra pop-ups with SSO enabled environment.
    Cause:
    Internet Explorer (IE) has to cache PDF files in a temporary directory prior to opening the file. Without this IE cannot process PDF files. With SSO protected pages, the header cache settings are set to no-cache which prevents IE from downloading PDF files.
    Solution:
    In mod_osso.conf use the entry "OssoSendCacheHeaders off" which tells mod_osso to turn off all no-cache related headers, which the enables Internet Explorer to be cache the file in a temporary directory.
    Now I am not sure if anybody has any thoughts/suggestions as how we might be able to resolve this issue where Oracle Reports WEB.SHOW_DOCUMENT calls have no pop-ups so ideally BIP reports WEB.SHOW_DOCUMENT calls should behave the same as both are calls from Oracle Forms.
    But at least now our SSO enabled environment and un-secure DEV/UAT behave the same with a single pop-up. Ideally the users shouldn't have to come across this intermediate pop-up to open(save/cancel being the other options) the document(just like Oracle Reports calls).
    Yahya

  • 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

  • Specify image for a pop-up LOV in a tabular form?

    Hi,
    I am using a tabular form for users to edit data. One of the fields has too many options to use a select list, so I have to use a pop-up lov (query based)... grrrr
    The lov shows up in my form as [Field value]List
    I would like to remove the text "List" and put a small icon there. Where can I specify the image source?
    Thanks,
    Rob

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

  • 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

  • Returned Value from a POP-UP LOV

    Hi,
    I have a tabular form and i am running into problems when i make use of the POP-UP LOV column type. Basically i have a license and my users have to be able to add conditions to their licence. There are too many conditions for the users to choose from to simply use a select list so i have been forced to use POP-LOV. My problem is that because my query for my POP-LOV is:
    Select COND_DESC d, COND_CODE r
    From LICENCE_CONDITION
    The condition code is returned to my tabular form. This is not much use to my clients (an id of 1466 means nothing to them ) and i really need them to see the condition description in the form and then return condition code to the database.
    Can any one help me with this, or point me in the right direction? I tried searching the forum but its quite a hard problem to describe and i didnt find anything.
    thanks,
    Rad

    See my proposal in this thread:
    Long LOV for editable column
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • How to clear cache POP-UP LOV

    Hi All,
    How to clear cache POP-UP LOV .
    For example :
    I had created one pop-up lov "Marketing client", when I select any value from pop-up lov . If the Marketing Client already has 'AIM Investments' but someone clicks the item to get to search for a different one it currently only shows 'AIM Investments' unless someone blanks out the search box.
    What I want is every time I click on LOV it will show all the values. User need not to clear the search box to get all the values.
    Any pointer.
    Regards
    Dikshit

    Hi All,
    How to clear cache POP-UP LOV .
    For example :
    I had created one pop-up lov "Marketing client", when I select any value from pop-up lov . If the Marketing Client already has 'AIM Investments' but someone clicks the item to get to search for a different one it currently only shows 'AIM Investments' unless someone blanks out the search box.
    What I want is every time I click on LOV it will show all the values. User need not to clear the search box to get all the values.
    Any pointer.
    Regards
    Dikshit

  • On demand process linked to a POP UP LOV - help

    Hi,
    I am trying to set an application item to the return value of a pop up lov that has a display value and a return value. The display value is a text item and the return value is a number id. I need the id for an on demand process.
    When I look at the session state for the application item and the page item for the pop up it shows the display value and not the numeric id.
    thanks.
    Edited by: DragonLady on May 19, 2010 9:23 PM

    Anyone?

Maybe you are looking for