POPUP LOV

Hello,
Were having a little problem with POPUP LOV.
This is what we would like to do, we have a page That has a couple of text boxs with POPUP LOV for each text field, what we would like to do is, let's say we choose a specific division ID in the POPUP LOV then, we would like for the Business units POPUP LOV only show the BU that belong to that Div, is it possible and if so how can we go about.
We undersatnd that the select below displays all the BU = Div ID but is there a way to filter them according to what is choosen in the LOV.
select
bu.ID,
bu.DIV_ID
from GSR_BUSINESS_UNITS bu,
GSR_divisions div
where BU.DIV_ID = DIV.ID
Thanks again

Hello,
Were having a little problem with POPUP LOV.
This is what we would like to do, we have a page That has a couple of text boxs with POPUP LOV for each text field, what we would like to do is, let's say we choose a specific division ID in the POPUP LOV then, we would like for the Business units POPUP LOV only show the BU that belong to that Div, is it possible and if so how can we go about.
We undersatnd that the select below displays all the BU = Div ID but is there a way to filter them according to what is choosen in the LOV.
select
bu.ID,
bu.DIV_ID
from GSR_BUSINESS_UNITS bu,
GSR_divisions div
where BU.DIV_ID = DIV.ID
Thanks again

Similar Messages

  • Disable/enable popup LOV image anchor in tabular form

    Hello all,
    I am trying to find the solution how to enable/disable popup LOV's image anchor. When I disable the popup item, then only the text field is disabled but the image is still active and opens the LOV window. I have tried to implement some solutions but without success.
    I have created DA (fired after refresh of needed region) with code below which disables the needed field.
    $('td[headers="DEPTNO"] input').each(function(i)
                $('td[headers="DEPTNO"] input:text').disabled="disabled";
    $($('td[headers="DEPTNO"] input:text')[i]).addClass('apex_disabled');
    Could anyone help me with a code which will also disable the image?
    Thanks in advance!
    My testing appl:
    www.apex.oracle.com
    *WS:* kurintest
    *username:* [email protected]
    *passwd:* kurintest
    *appl. name:* disable_popup_icon
    -Jiri                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hello Jiri,
    Please see your page:
    I have changed the dynamic action:
    $('td[headers="DEPTNO"] input').each(function(i)
                $('td[headers="DEPTNO"] input:text').disabled="disabled";
    $($('td[headers="DEPTNO"] input:text')[i]).addClass('apex_disabled');
         $($('td[headers="DEPTNO"] a')[i]).click(function(e) { e.preventDefault(); });
    $($('td[headers="DEPTNO"] img')[i]).addClass('apex_disabled');
    Hope it helps!
    Regards,
    Kiran                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Theme 23 does not display popup LOV in tabular form

    I created new application using new Theme 23. In tabular form the popup LOV button does not show. While using this theme the column LOV button is soooooo small it is not visible. If I move the cursor on the side of the field eventually I cursor handle will change and I can click and popup LOV will show. When I switch to an older theme (e.g. 21) the LOV button shows just fine.
    Does anyone can offer a solution? Can I expect more this type of problems in the new theme 23?

    I examined exported application file. Indeed the problem is p_column_id parameter. It should be decimal number for translated application. Characters %2C in p_column_id value stands for comma. It should be dot instead. Parameter value should be p_column_id=30289208519476123679.915121.

  • How to get the value from one Popup lov column to another popup lov column

    Hi,
    I am new to oracle apex development and having the below issue.
    In my application, there is a tabular form with 15 columns ( c1.. c15).
    I have to populate the value of column C5 based on the selected(from popup lov) value of column C3, tried to use onchange, but didn't help much.
    Any help please.
    Thanks and Regards,

    Oh boy, this is a fun one.
    onchange should work theoretically (in this example, assume that f05 is the target column that should be set and "this" is the source item whose value is to be transferred to f05 on the same row (row 2)):
    onchange=$s('f05_0002',$v(this));
    BUT the catch is of course that needs to be different for every row (can't hardcode the '2'), so you need something to dynamically create the row number component.
    I wrote this for an app I'm working on that uses master-detail forms heavily (I also wrote a lot more code to read the fmap array that is in v4 so that I can reference my cells via their column name and not the numeric position (so "f05 can be determined w/o hard coding), insulating against columns moving around, columns being made display-only etc. but I won't bore you with that here unless you really need to know).
    function getRow(pObj)
    { //Pass in an object reference to a tabular form cell and get back an integer
      //derived from the object ID.
      var vRow=pObj.id.substr(pObj.id.indexOf("_")+1);
      if (isNaN(vRow))
        return (null);
      return (parseInt(vRow,10));
    function formatRow(pRow)
    { //Pass in an integer and it'll be returned as the tabular form cell ID suffix
      //(e.g.: pass in 1 and get back string "_0001").
      //Used in building ID references to tabular form cells.
      if((isThingEmpty(pRow)) || (isNaN(pRow)))
        return(null);
      var vRow=pRow.toString();
      while(vRow.length<4)
        vRow="0"+vRow;
      return("_"+vRow);
    }Therefore:
    onchange=$s('f05_'+formatRow(getRow(this)),$v(this));
    So in essence, pass in "this" which will be a reference to the current item, largely to determine what row we're on. getRow will return 1, 2, 3, etc. formatRow will take that and return 0001, 0002, 0003, etc. Once that is done, it'll concatenate with the f05 and f04 to refer to the correct columns (determining f05, f04, etc. dynamically is another matter if you really need to but I didn't want to complicate this answer too much at once).
    Note: above I also use a isThingEmpty() function that I wrote. It does nothing other than check the item for an empty string, if the item is null, etc. Just do your own evaluation of empty-string, no-value, etc. there.
    It would indeed be nice though if Apex had a better way to delclaratively access the tabular form items though. Despite all the v4 enhancements, tabular forms were not entirely upgraded to the same full functionality of page items.

  • Popup lov in a report is not working if I have an order by caluse

    I created a form manually using the document from the url:
    http://otn.oracle.com/products/database/htmldb/howtos/tabular_form.html#MANUAL
    I used the following query from that document.
    select htmldb_item.hidden(1,empno) empno,
    ename,
    htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
    htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
    wwv_flow_item.date_popup(6,null,hiredate) hiredate,
    htmldb_item.text(7,sal,10) sal,
    htmldb_item.text(8,comm,10) comm,
    htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
    from emp
    This works fine.
    But if I add an order by clause to the query the popup key for mgr column doesn't work.
    select htmldb_item.hidden(1,empno) empno,
    ename,
    htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
    htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
    wwv_flow_item.date_popup(6,null,hiredate) hiredate,
    htmldb_item.text(7,sal,10) sal,
    htmldb_item.text(8,comm,10) comm,
    htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
    from emp
    order by ename
    Is this a bug ?
    Is there a work around ?
    Thanks
    Chandra.

    Chandra,
    Please refrain from asking the exact same question twice. It doesn't help the quality of this forum. If you have to, "bump" an existing unanswered question up (wait a day or two, please) in case it fell through the cracks.
    Now for the answer:
    select htmldb_item.hidden(1,empno) empno,
    ename,
    htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
    htmldb_item.popupkey_from_query(4,mgr,'select ename d, empno r from emp',10) mgr,
    wwv_flow_item.date_popup(6,null,hiredate) hiredate,
    htmldb_item.text(7,sal,10) sal,
    htmldb_item.text(8,comm,10) comm,
    htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
    from (select * from emp order by ename)
    Use an inline view like in the example above to do the sorting first. If you sort a result set that includes Popup LOVS, then the Javascript used to populate the text fields doesn't work anymore.
    Sergio

  • Return multiple values for the popup LOV

    Hi folks,
    I have one challange. I have a search engine and there is an popup lov and its having three Display and 3 Retun value such as
    select
    p.A || ', ' || pi.B|| ', ' || km.C|| ' ' d, p.A || ', ' || pi.B|| ', ' || km.C|| ' ' r
    from tableA km,tableB p,tableC pi
    where km.col1=p.id and km.col1=pi.id and km.C is not null
    when i click on the pop lov it will display 3 values shuch as SAP+DBA+HR and in popup lov iteam its will return 3 values
    such as SAP+DBA+HR this return values are from 3 cloumn names from same table ie. A column, B column, C column
    and when i click on submit button this return values from 3 columns values should assign to the 3 column such as
    A=SAP, B=DBA and C=HR and search fetchs the result in a Report.
    Its some thing new, is it possible..:)
    ok will be waiting for your reply..:D
    Regards,
    Suri
    Edited by: user634694 on Feb 25, 2009 3:14 AM

    Hi Varad,
    am facing problems i wrote dynamic sql its working fine for 2 and 3 fields like (SAP+ORCL) and (SAP+ORCL+HRA) but for the single value like SAP the results are not comming properly. my code is
    If (:P25_TEST Is not Null ) THEN
    V_Sql := V_Sql||q'!
    And
    (multipleInstr1(R.Pillar,:P25_TEST)&gt;0 )
    or INSTR ( '+' || Upper(:P25_TEST) || '+', Upper(R.Pillar))&gt;0 ) and
    ((multipleInstr1(R.Product_Line,:P25_TEST)&gt;0 )
    or INSTR ( '+' || Upper(:P25_TEST) || '+', Upper(R.Product_Line))&gt;0) and
    ((multipleInstr1(R.Category,:P25_TEST)&gt;0 ) or (R.Category is null)
    or INSTR ( '+' || Upper(:P25_TEST) || '+', Upper(R.Category))&gt;0 )
    End If;
    where multipleInstr1 is a function created to search results even its delimited by '+' it ignors '+' delimiter and
    :p25_test is the popup iteam which takes values like SAP+ORCL+HRA or SAP+ORCL or SAP how its possible to get this results.
    Its turning too complicated for cheking condetion for a single popup iteam, can we get any solution for this or not..
    Hope will do respond
    Thanks and Regards,
    Suri

  • How  to Create Multi select  Popup LOV

    Hi,
    I have a requirment in my application like Below scenario.
    I created one page like compose mail. In that i have used popup lov for selecting the user.
    But the problem is, it is allowing only one user to be select.In my case i want to select multiple users to send the
    mail.
    Please help me.
    NR

    Hi,
    How many users do you have in total? If it is a small number (a few dozen) you could use a multi select list or a shuttle item.
    However if there are hundreds of users to choose from, you may need to write your own pop up LOV to select them (probably using an Apex collection to store the temporary list).
    Or if you are really cool you could do something web 2.0-style using ajax (like those boxes in facebook where you just type the names of the persons and it shows a autocomplete list).
    Luis

  • Can you set a large fetch size for the standard popup LOV

    I'm trying to increase the fetch size that the popup LOV uses when I set a LOV up for an attribute.  It seems to have a default of 25.  I don't really have the issue when I'm on a PC, but when we run the app under Safri on an IPAD it will not automatically fetch the next 25 rows when the user scrolls down like it does in IE.  I had the same issue with tables, but I can change the fetch size on the table.  I really need to set the fetch size on the LOV.  ANyone know how to do this?  I don't even care if the setting would be across the board or just specific to one view.   

    I'm on 11g.  I'm using input list of values.  I don't want to wait for the whole list since the search could return 1000's of rows.  I like the automatic fetching I get with IE.  The IPAD is the issue.  It does not do an automatic fetch when you scroll to the end.  So, the user is limited to 25 rows no mater what their selection criteria is.  I'd like this to be around 400 if I could get it. 

  • How to wrap the text in a popup LOV item ( Apex 4.0 )

    Hi
    I have a popup LOV type item with a very long string value
    I would like to format the item so itr will be shorter but have the string wrap to multiple lines.
    Can you let me know how that can be achieved ?
    thanks
    O

    Hmm.. I don't know about that.
    I actually already managed to change the width of a specific popup element by putting the following in the region footer :
    <script type="text/javascript">
    $x('P3_CONTRACT').style.height="20px";
    </script>
    that works fine and only impacts that specific element.
    However , Since I know next to nothing of HTML and Javascript , I could not figure out the code to put to make the text wrap.
    your solution suggests that it will take care of the width , but will it cause the words to wrap ?
    thanks
    O
    Edited by: Orna Weisman on Apr 30, 2012 7:08 AM
    Edited by: Orna Weisman on Apr 30, 2012 7:15 AM

  • PopUp LOVs in tabular forms

    Hi,
    I've discovered a problem using Popup LOVs in tabular forms, whereby on selecting a value from the LOV the key value is displayed on the form instead of the display value.
    Having searched this forum it would appear I'm not the only one who has encountered this problem, but I've had no luck in finding an explanation for this behaviour or a solution / workaround.
    Can anyone help?
    Thanks
    Andrew.

    A Popup LOV is just a normal Input field with the option to popup another window, select a value and return that value to the field. On the popup window, the "display" value is shown to the user to make it easier to select the right value, but the "return" value is returned to the field as this is the value that needs to be stored on the database.
    As a normal input field, it can only hold and, therefore, display one value.
    Select Lists, on the other hand, store the "return" value but show the "display" value because that is how Select Lists are designed to operate.
    You can show the "display" value in a second field for data that is already on the database by using the "Display as Text (based on LOV, does not save state)", based on the same database column as for the Popup LOV field and using the same LOV table.
    However, the only way to get a "display" value for a new/edited record would be to either submit the page or design your own popup which can pass values back into two fields. Either way, you need two fields.
    Unless someone else has found a way around this?????
    Regards
    Andy

  • Populating a report column(Popup lov) based on the other column.

    I have a report where a column that is a Popup Lov(Query based LOV) needs to be populate based on another column in the same report.
    For example, if the column1 has query based lov select statment "select a,b,c from tab where d= *<<col2>>* ".
    I would like to have a sql query based on the values of second report column. Any ideas are appreciated.
    Regards,
    madhu

    You can do that only if you use apex_item. See this example as a reference:
    http://apex.oracle.com/pls/otn/f?p=31517:176
    In this example the second select list query depends on the first select list column value.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to make one of the columns in my tabular an text item with popup lov

    Hello,
    I want to manually make one of the columns say for the deptno in my tabular form as on text item popup lov using apex_item package
    and whenever user clicks on the text item popup lov, it should open up an dept table report and from which he/she needs to select
    the deptno and this deptno should be returned into the text item popup lov column.
    like for example: say if i have an emp table tabular form with all the columns and deptno column as an popup lov and when user clicks on this column
    it should open up an new sql report(similar to popup lov window), the select statement for this would be
    select deptno,dname,loc from dept order by 1;
    And from this popup lov report whenever an user selects a particular deptno, the same deptno should be returned to my text item popup column in emp tabular form.
    something like this
    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "JOB",
    "MGR",
    "HIREDATE",
    "SAL",
    "COMM",
    APEX_ITEM.TEXT(3,deptno,20,50,'readonly=true') || '<img height="16" align="middle" width="16" style="vertical-align: middle;" alt="Popup Lov" src="/i/lov_16x16.gif"/>' deptno
    from "#OWNER#"."EMP"
    like i made my column as an text item lov and now I want to write an onclick event for the text item lov so that an popup window is displayed which is a sql report of the table dept (select deptno,dname,loc from dept order by 1;) and in this report i want to make deptno as an link so that when ever an user clicks on it
    -- this value should be returned to my text item popup lov column deptno in the emp tabular form.
    can anyone help me out with this issue.
    thanks,

    Hi,
    Refer to the link for the detailed information on ALV Grid.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Hope it helps.
    Regards,
    Rajesh Kumar
    Edited by: Rajesh Kumar on May 25, 2009 9:13 AM

  • Issue with Popup LOV field not clearing out "default" value

    I am using APEX 4.0 & Oracle 10g
    I have a form that displays a default value on a "Popup LOV" field (say P1_POPUP) when the Form is initially displayed to the user. The default value is part of the Popup LOV list of values. If the field is "manually cleared" *i.e. I clear the default value by backspacing and don't touch the LOV) and I Refresh (submit) the form (REFRESH button to display the same Form again), the default value is still displayed.  
    In Post Processing, I debugged the value of P1_POPUP to see if holds the default value and yes it does. I was expecting no value in P1_POPUP.
    Is this an APEX standard behavior?
    Any way how I can get rid of this value on an manually clearing action of this Pop Up field?
    Looking forward for your response.
    Thank very much in advance.
    Ed.

    I apologize, the default value was NULL indeed. However, it seems like I may need to manually clear this value so that it will not be displayed.

  • Change Font in Popup LOV?

    Hello All,
    Apex 3.1
    I need the font size for a value returned from a Popup LOV to be much smaller. How would I modify the popup LOV template in order to change the font of the values in the LOV, or if not the LOV itself, the font size of the return item?
    Thanks!

    Hi
    Go to Shared Components > Templates > Popup List of Values
    There you will find the name of CSS which is being used with this LOV. You need to change the CSS to get the required fonts.
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • Popup Lov in Master Detail Form

    we are working on a master detail form that is based on orders and products. we can view all products, that are contained in one order.
    In the order part, we can choose a field to be of the type: "Popup Key LOV (Displays description, returns key value)"
    However in the products part we do not get to choose this option. Is there a way to realize that?
    Also we would like the users to be able to add an entry to the popup list, but we cannot find where to edit the popup form.
    regards
    maik and chris

    how can i branch from the popup lov to the insert page?
    also, how can i have the produkt name displayed instead of the product id, after choosing an entry from the popup lov. (in the order part i can choose this as an option, but in the products part, i can't)

  • Popup LOV and read only

    Hi there,
    I want to use a Popup LOV instead of a select list. The thing is with Popup, the user can manually fill the text field value. Is it possible to use a Popup and have a read only textfield, to make sure the user's entry will be valid ?

    I try to fill disabled="disabled" into popup LOV of Tabular form element but don't work, the      
    behavior of text field is the same with or without this setting.
    My version of oracle apex is 3.1.1.00.09 installed on an Oracle 9.2.0.6 database.
    Someone have any ideas to resolve this problem?
    Thank you in advance.
    Gabriele

Maybe you are looking for

  • Problems with EXIT_SAPMM06E_013

    Hallo, i have Problems by using the ebove EXIT. I use it like this, test is with ME21N( 4.6C!!).   INCLUDE ZXM06U44                   * TABLES: MARA. loop at xekpo where not matnr is initial.   SELECT SINGLE * FROM MARA WHERE MATNR = XEKPO-MATNR.   X

  • HT4972 i updated my phone, now i cannot see my screen.  it is black and i cannot receive calls

    I downloaded the new software (ios 6) for the iphone 4s and my screen went black.  I cannot use my phone at all.  my phone rings, but I cannot answer it either.  what should I do?

  • Autoclearing for GL line items

    Hi All, I am trying to clear line items from the GL accounts which are having different Profit center & different Material with same assignment field for that i have changed the rule for Document clearing, i have just mentioned field  ZUONR for clear

  • Use Apple TV to back-up iTunes?

    I am being forced to reformat my computer due to a virus. Do I need to back-up all my movies and songs on to a hard drive, or will I be able to use Apple TV to send all my media back to my computer once it is reformatted? Currently, my entire library

  • Entire project not linked, can not find way to link clips in edited sequences

    I had a guy edit the video for me and I have his hard drive.  I copied everything over to my hard drive and opened the Premiere Pro project he used to edit the project.  Everything shows up, I can see the sequences and the edits.  But when I try to v