List Manager based on LOV returning values with missing spaces

I am using a list manager based on a pop up lov, in this case it is a list of supplier names. When the pop-up list is shown the values are displayed as expected, with all spaces intact. When I click the supplier name, and then click Add to add to the list manager, all spaces in the supplier name are lost.
The field I'm pulling is a varchar2 in the db. Here's the sql behind the lov:
select '(All Suppliers)' d, '(All Suppliers)' r from rep_gy_spend
union
select distinct supplier_name d, supplier_name r
from rep_gy_spend
order by 1
Any ideas on why the spaces are lost?

DJ - There is a javascript function on the page that does that. View page source and you'll see it. You could override it with your own and change that behavior and you could prevent it from upper-casing the returned values as well by using different onclick javascript on the add button.
Scott

Similar Messages

  • Problems with List Manager based on Popup LOV

    How do I get the IDs of items selected in a List Manager (based on Popup LOV, preserves case) into a table?

    Now all results are in an extra row, but changes still don't take effect...
    DECLARE
      CURSOR crTest IS
        SELECT to_char(bfe.bezeichnung) bfe_bezeichnung
    FROM bsc_file_links bfl,
         bsc_files bfe
    WHERE bfe.id = bfl.bfe_id
    AND bfl.BVN_ID = :P207_ID;
      vcResult VARCHAR2(1000);
      recTest VARCHAR2(1000);
    BEGIN
      OPEN crTest;
      FETCH crTest INTO vcResult;
      IF crTest%NOTFOUND THEN
        NULL;
      ELSE
        LOOP
          FETCH crTest INTO recTest;
          EXIT WHEN crTest%NOTFOUND;
          vcResult := vcResult||':'||recTest;
        END LOOP;
      END IF;
      CLOSE crTest;
      return vcResult;
    END;

  • LIST MANAGER - Replace popup lov - with stationary scrollable box

    Sorry... I thought this was Oracle 10g XE form...could you direct me to right form.
    LIST MANAGER - Replace popup lov - with stationary scrollable box...
    The end result would be: 2 scrollable list boxes separated by the word ADD / REMOVE. One to select from and the other box to act as collection box
    The popup LOV is quick and fast ..but is a little time consuming
    Oracle 10g XE
    Message was edited by:
    user518110

    Hi user518110,
    1) please update your forum handler to a more friendlier name.
    2) I think your are looking for the Shuttle component in Oracle APEX, like on the following page http://apex.oracle.com/pls/otn/f?p=2672:2
    If you are using Oracle XE you are probably using Oracle APEX 2.1, you have to upgrade this version to Oracle APEX 3.0 which contains this new control. See http://www.oracle.com/technology/products/database/application_express/html/3.0.1_and_xe.html for details.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • Popup list manager and dynamic LOV

    I'm stumped, stuck and thought I was doing something simple. Here's what I have:
    1) Checkbox dynamically built (P3_CHECKBOX)
    2) A hidden field to store the checkbox values (P3_CHECKED)
    3) A popup list manager based on the hidden field.
    I am using JavaScript to populate the P3_CHECKED whenever P3_CHECKBOX is changed. However, my dynamic LOV based on the hidden field always returns no rows. The SQL for the LOV is:
    select application_role, role
    from roles_view
    where '%'||application||'%' LIKE to_char(:P3_CHECKED) order by 1
    Am I missing something simple? I know the hidden field is getting populated because if I change to field to text, I see the data change. There is also data in the table because executing the query using the data in P3_CHECKED returns the expected rows.
    Any help would be appreciated.
    Mike

    Mike,
    The lov query accesses the value of P3_CHECKED from session state. That isn't stored in session state until the page is submitted.
    Scott

  • How to exit from SQL*Plus based on the return value of a SQL select stment?

    Hi
    I have a SQL script executed from SQL*Plus. I would like to know if SQL*Plus
    supports any kind of branching or exiting from script execution based on a
    returned value of a SQL select statement. I am on 9i.
    Regards,
    Tamas Szecsy

    in sqlplus, you have whenever
    ex:
    whenever sqlerror exit failure
    insert into ...
    -- if this fails, then you will be out
    insert into ...
    -- if this fails, then you will be out
    whenever sqlerror continue
    insert into ...
    -- if this fails, this continues
    insert into ...and you have PL/SQL
    declare x number;
    begin
    select count(*) into x from emp;
    if (x=14) then null; end if;
    end;
    /note that you can mix those in some case
    -- exit if there is no row in emp
    whenever sqlerror exit 1
    var dummy number
    exec select count(*) into :dummy from emp having count(*)!=0

  • In numbers 2 there was a "show search" which gave a list of all occurences of a value with the location. Does this exist in Numbers 3?

    in numbers 2 there was a "show search" which gave a list of all occurrences of a value with the location. Does this exist in Numbers 3?

    G.,
    The search results pane is gone in V3. If it's critical, stay in V2. I'm not being flippant, I have certain documents that I very carefully keep away from V3 because I don't want to give up the V2 features for those particular files. Some users have reported problems with having both versions active at the same time, so it's best to quit one before launching the other, but other than that you just need to be careful not to open your V2 documents with V3.
    Jerry

  • List manager (based on Popup LOV)

    Hi !
    I have a problem with my list manager. I'll explain the situation. I have users into my db and does users are associate to many groups. I have a user table, an association table and a group table.
    I have that LOV query :
    begin
    :VALEUR_ACTIVE := 'A';
    return 'Select NOM dispval, NOM retval From GROUPE WHERE STATUT = :VALEUR_ACTIVE';
    end;
    The query of my List manager is :
    SELECT groupe.nom
    FROM groupe,
    ass_groupe_usager
    WHERE asso_groupe_usager.code_groupe = groupe.code_groupe
    with that request, I want to show in the list, every groups that are associate to the user. The problem is that even if the user is associate to 3-4 groups, only one group appears in the list.
    Anyone can help me ?
    AND asso_groupe_usager.PEIN = :TB_PEIN_2

    I did a mistake in my last message. I put the rest of my message into my query ! The last line is the last line of my query.
    Thank you.

  • Double Quotes In LOV Return Value Being Replaced With &qu ot; By APEX 4

    My company recently upgraded our development and test boxes to APEX 4.0.2, which we have been wanting for a while now. We discovered that since the upgrade some of our checkboxes and radio groups no longer work as expected. What I mean by this is that the return values being checked for were not correct, and on several occasions we received PL/SQL errors related to numeric to character conversion issues.
    After debugging some it turns out that we have the following LOV query for one of our Checkboxes:
    select
    statement d,
    stmt_id || '" title="&P20_FORM_STMT. ' || statement || '.' r
    from
    stmts
    The return value for the LOV is setup so that it would return a 508 compliant checkbox. We were told we needed a title for each value of a checkbox or radio group to be 508 compliant. These titles must also be relevant to the selection being made, hence the substitution string being used in the return value.
    What I discovered in all of this is that APEX 3.2 did not convert the double quotes in our return value to &qu ot;, but APEX 4.0.2 does. This causes the value of any given checkbox or radio group to look like the following:
    value="1&qu ot; title=&qu ot;This is the statement that I have made."
    And what we are looking for, and what APEX used to do is this:
    value="1" title="This is the statement that I have made."
    Does anyone know a way to prevent APEX from converting the double quotes to &qu ot;, or is there a way to insert an element attribute for each checkbox or radio group value that contains a substitution string?
    Thanks in advance!
    Pastey

    ryansun wrote:
    4.2.1
    Hi,
    I have a classic report, which has a count column that is hyperlinked. using the standard apex column hyperlink option. In that we have the option of passing values. I noticed that when I am passing a value which has "/" in it, it replaces the / with & #x2F;
    I have created a application item which I am populating with the report column.
    Because of which I cannot use that value in the report query.
    Any suggestions?Yes. Don't pass string values in URLs. Especially where it is possible for these strings to contain URI reserved or APEX sensitive characters. This might work for a while but your application can be broken months from now by users including a "&" or ":" in data that gets passed as a URL parameter. Whilst it is possible to escape strings to make them URL- and APEX parameter-safe, it is much better practice to avoid the problem altogether.
    Exposing data in the URL may also introduce security vulnerabilities. Also note that the maximum length of a URL in Microsoft Internet Explorer is about 2KB, which can easily be exceeded by throwing a few string values at it.
    Only use discrete alphanumeric key values as URL parameters. In target pages/regions, use these key values to retrieve the required data using item source attributes and processes.

  • Can a single LOV return values to two different fields?

    Hi,
    I have a scenario where I already have a LOV in the form which is assigned to a Field A. This LOV returns the value to field A. I have another field B which needs the same list of values. I can assign the same LOV to the field B as well, but can the value selected be returned to B?
    I can create another LOV with the same record group, but just wanted to know if its possible to use the same LOV again.
    Thanks

    Hi Karuna,
    You can achieve this by providing a third column in LOV (whose column width can be set to 0 to prevent it from being visible in lov) which can be comma-separated of two fields. This third field can then be assigned to the form field. And a substr() function call can get you both values.
    Hope this helps,
    Anantha
    [http://askanantha.blogspot.com]

  • LOV return value to submit multi LOV/Text field order by value!

    I have nested LOV and return value reflected to another LOV/Text field by order wise.
    My problem,
    The return value LOV or Text field should be dispay with one by one values order by (Dynamic).here i using the query in each LOV source.
      select DMS_DD_ENG_DESC dis, DMS_DD_ID ret from DMS_DEPT_DETAILS
    where DMS_DD_DT_REF_ID=:P3_DETAILS
    Workspace          :RAM_R&D
    User Name/Password :aramani/apex
    App                http://apex.oracle.com/pls/apex/f?p=36167:3I should do the dynamic action for this case?
    anyone can help me plz.
    Thanx,
    Ram

    Hi Ram,
    I changed your application and i think it is working the way you want.
    I don't know if it exactly what you need but take a look and let me know.
    Regards,
    Kees Vlek
    <tt>Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66</tt>
    If the question is answered please change it to answered and mark the appropriate post as correct/helpfull.

  • Assigning LOV return Value to multiple text items

    Hi all
    I have a custom form on which i have 10 text items
    text item 1,text item 2 ....text item10
    I have a table xx_querywith fields
    text_item,query
    i have inserted into the xx_query table
    insert into xx_query(text_item,query)
    values(text_item1,'select sysdate from dual');
    insert into xx_query(text_item,query)
    values(text_item2,'select sysdate-1 from dual');
    I have created a record group dynamically and i am getting the query from the query column of the xx_query table into the record group(say test_rg)
    I have created a LOV test_lov and thr set_lov_property i have populated the test_rg query into the test_LOV
    is it possible for me to set the return item of the LOV dynamically so that i can get the LOV on the item which i want to ?
    thanks
    _

    Hi All
    thanks for your responses
    I have Created a control item and assigned the return value of the LOV to the control item
    and i have assigned the LOV to the text item that i want
    Currently when i navigate to the text item the LOV is visible
    but when i select a value from the LOV the value is not getting populated into the text item
    I have assigned the value of the control item to the text item
    but i am not sure in which trigger to write the code so as when i select the value from the LOV the value should be shown on the form populating in the text item
    Thanks

  • Workflow to grant access to each List item based on a column value

    Hi,
    I have 2 lists Risks and RisksLookup.
    In Risks, I have Title, Description, service impacted and status columns.
    In RisksLookup, I have service impacted, AD1, AD2, AD3, AD4 and AD5.
    I have a requirement where in I have to write a Workflow to provide access to each List item based on the value of service impacted. i.e. If service impacted in Risks List is Client A, I have to lookup what all AD groups are present for Client A in RisksLookup
    List and provide access to only those groups for that item.
    Regards, Shreyas R S

    Hi
    another approach
    create 5 more lists, dedicated to each impacted service. for  Each one these lists apply needeed right ( based onAD groups )Keep you main list where first level will add new items . Attach a workflow to this main list, which will start when an item
    is added and which will add specific item's value to his new list ( based on impacted service value )
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • HOW TO RESTRICT A LOV RETURNED VALUES TO A DEFINED LIST

    Within Purchasing Superuser/Agreements PO Blankets Agreement page I'm trying to restrict the LOV's for the Operating Unit field. This currently lists all the Operating Units per standard functionality.
    However, I want to restrict the list of values on this field and I went into personalisation and found I could set the field to USER PERSONALIZABLE. Further zoom I get to the page as attached and here I would like to define the list of OU's to be restricted to the small set I have in mind. Is this the correct page this happens and could you point to me how I can do this ?

    Pratap,
    Since you want changes to the query output, just extending a Controller would not suffice. I agree that extending and thereafter substituting a VO can have impacts across. So my suggestion to you is to first analyze the impacts and in case you find tough with continuing the option, you can look at creating another VO (through Controller) and associating to the region using Controller itself. This is a complicated approach, but should suit your needs well.
    Regards
    Sumit

  • Popup LOV Returning Values

    In my entry form I'd like to use the "Popup LOV" to bring the names of employees. I use the following statement:
    SELECT full_name, party_id
    FROM vs_parties
    ORDER BY 1
    Everything seems to be working OK, however, only "party_id" is returned to the form. Is there a way I can hide the ID field and display the related "full_name" only.
    Regards, Tomas

    In order to clear out a Popup Key LOV value it was suggested to ..... Preface the query with [select '-choose option-' a, 0 b from dual union all ...].
    Does anyone know of a fix for this solution if you want to set the value to null? Because as it stands if you use this query and replace "0" with null, the popup key lov actually returns "-choose option-" for both the display value and the actual value. I cannot use the value of "0" so that is why I am needing it to return as null.
    Here is an example I posted up, the field that has the Popup key is "Name" you will see that once you pick "choose option" and save the record that in the report it sets the value of name to "-choose option" instead of null. Once this happens you cannot edit the record unless you do a backend SQL update to set value to null or a anything else.
    Here is the link: http://htmldb.oracle.com/pls/otn/f?p=37103:21
    This is the LOV query used for Name:
    select '-choose option-' a, null b from dual union all select IP a, ip_id b from IP order by a

  • Validate from list, do not open lov if value already in lov

    Hi,
    I have an item and want to validate value from Lov because do not need a code in w-v-i trigger. i set property validate from list for the item to yes but when executing the lov opened even if i entered a value which already exists in lov. i thought that validate from list to yes triggers the list only if value do not exist in the list. i do not want list to open if value already exists in the list. Can someone help me with this? Thanks for your ideas.
    Edited by: Tabit7 on 2011-04-08 23:24
    Edited by: Tabit7 on 2011-04-08 23:24

    It only opens the Lov when the value not not unique, e.g. you have two equal entries in the lov. Also be aware that the validation is done against the first visible item in the lov.

Maybe you are looking for

  • ResulSet,SQLException problem

    I have an error in my result set. Here is the code: String query="select name,password from\'table name'\"+"where name like username and"+"where password like password"; ResultSet rs=stmt.executeQuery(query); while(rs.next()){ String uname=rs.getStri

  • I am getting redirects on iPad air and iPad 2 whether using wifi or Cell services.

    iPad Air running 8.2 Model mfoo3ll/a I did a search today for a local doctors website and phone number using google. When I clicked on the site I was first directed to a "app" to buy ****. I closed the window and opened a new window and typed in the

  • Imported PDFs look blurry

    Hi All, I'm using Keynote 09 and when importing PDFs images they all look blurry, but the text and lines in the figure look OK. One way to avoid this problem is to convert the figures to PNGs... but then that does not solve the issue and it involves

  • How can we execute the session in error mode through SE38 program

    Dear Experts,   How can we execute the BDC session in  error mode through se38 programme....   we can execute the session in the below 2 ways 1) Through SM35 we can process the session manually in foreground/Error mode or Background also. 2) through

  • EJB Failed to generate class

    Hi, I am moving an legacy application which consist of EJB 2.0 from Weblogic 9 to weblogic 10.3.4 and I am facing following problem: Caused by: java.lang.AssertionError: Failed to generate class for com.sky.jak.portfolio.beans.PortfolioRetriever_dqv5