List of Value (LOV) Embedded Comma, Semicolon, Colon

I have an LOV that is to return an Employee Name in the format "Last_Name, First_Name Middle_Name" with a comma after the last name and a space between the First_Name and Middle_Name. Basically, my LOV is Employee_Name and Employee_Id.
However, I cannot get the "comma" to appear after the Last_Name. I can get an asteric (as in the following code) but cannot get a comma, semicolon or colon. Is there something special I have to do to get the comma?RETURN  'SELECT  DECODE((FIRST_NAME_TX
             ||  MIDDLE_NAME_TX
             ||  LAST_NAME_TX),NULL,''Not Available''
              ,  LAST_NAME_TX||''* ''
             ||  FIRST_NAME_TX||'' ''
             ||  MIDDLE_NAME_TX) EMPLOYEE_NAME
              ,  EMPLOYEE_ID
           FROM  EMPLOYEE
          WHERE  LOGICAL_DELETE_IND = ''N''
          ORDER  BY EMPLOYEE_NAME ' ;

In my case using REPLACE function solved the problem:
Let's assume that the +<full_name>+ has the comma that the tabular form fails to dispaly.
Instead of using in LOV:
select <full_name> d, <id> r
from <your_table>
I used:
select REPLACE(<full_name>, ',', '<my_string>') d, <id> r
from <your_table>
The +<my_string>+ conists of *& # 44* with no spaces in between. I have to explain it this way because even on this site +<my_string>+ gets replaced with a comma and you can't see how I did it.
Hope this helps.
Zhanna

Similar Messages

  • How to get data from list of values (LOV) to be displayed in a text field ?

    Hi guys,
    I am very new to Oracle APEX so please spare me if it is a silly question. How can I get the selected values from a set of list of values (LOV) displayed in a text field (or text area or so) ? Fox example, in my form I create 4 items: STATE, COUNTY, STREET, ZIPCODE and all of them are LOV (list of values). I also create 2 buttons (ADD & REMOVE). Then I create a test field (or text area name SELECTED RECORD). Now here is what I want to do with my form:
    When I set the values for all 4 fields, I will click on the ADD button then I want those values be displayed in the text field.
    For example, if the selected values are:
    STATE = Alabama
    COUNTY = Abbeville
    STREET= 1 Street
    ZIPCODE = 36310
    And the ADD button is pressed. Then in the text field I want it displays like this:
    Alabama,Abbeville,1 Street,36310
    If I choose other values and click ADD again, a new line will be added into the text fields (text area). If I click the REMOVE button, then it will clear those two line in the text field.
    Would it be possible to do it? Any help will be greatly appreciated. Thanks in advance.

    If you can live with the page being submitted and refreshed, make your ADD button do a submit with a request value of ADD and make your REMOVE button do a submit with a request value of REMOVE.
    Then create two computations (one firing with a condition of Request = ADD and the other firing with a condition of Request = REMOVE).
    In the ADD one, concatenate the values together into the text area (most likely a PL/SQL computation wiill be what you want). In the REMOVE one, set it to null with a PL/SQL computation.
    If you want it done without submitting the page, make the buttons each do a redirect to a URL but instead you will have to write two short javascript functions in the page HTML header to manipulate the field values. Each button would call each javascript function in an onclick event.

  • How to change background color in List of Values (LOV) ?

    Hiya
    In Forms 10g, the background color in list of values (LOV) is White whereas it was grey in Form 6i. Also, the position of 3 buttons i.e. Find, OK and Cancel on LOV is different than what it used to be in Forms 6i.
    Is it possible to change the background color and the position of buttons of LOV in Forms 10g ?
    Cheers
    Mayur

    I would like to share the outcome of this issue.
    I had posted this same issue on Metalink yesterday. They (Metalink guys) have confirmed that its an bug in Oracle 10g DS R2 and it would be fixed in subsequent releases.
    Following is an official response from Metalink:
    This issue has been addressed to Oracle Development to be investigated/fixed in the published Bug:
    Bug 1559776 <BACKGROUND COLOR SETTING FOR LOV OBJECT DOES NOT WORK ON WEB>
    Cheers
    Mayur

  • Problem with list of value (LOV) in BI publisher.

    I have created a report in BI publisher with two parameters (tier, accnum) and two list of value (LOV) for the menu to select from a drop down list.
    while crateing the parameters I selected the options: *1) can select all and all value passed*
    but in the view when I select 'ALL' option from the list, its showing the following error message:
    ORA-00933: SQL command not properly ended.
    but if I select a particular tier and accnum it is worikg fine.
    I have used the following query in the dataset:-
    select ACCOUNT.ACCOUNT_NUM as ACCOUNT_NUM,
    ACCOUNT.LAST_BILL_DTM as LAST_BILL_DTM,
    ACCOUNT.ACCOUNT_NAME as ACCOUNT_NAME,
    ACCOUNTATTRIBUTES.DISTRICT_ID as DISTRICT_ID,
    ACCOUNTATTRIBUTES.TIER as TIER
    from GEN_OWNER.ACCOUNTATTRIBUTES ACCOUNTATTRIBUTES,
    GEN_OWNER.ACCOUNT ACCOUNT
    where ACCOUNT.ACCOUNT_NUM=ACCOUNTATTRIBUTES.ACCOUNT_NUM
    and ACCOUNTATTRIBUTES.TIER=:tier
    and ACCOUNTATTRIBUTES.ACCOUNT_NUM =:accnum

    and ACCOUNTATTRIBUTES.ACCOUNT_NUM in (:accnum)use in clause

  • Display specific value from List of Values(LOV)

    Hi All,
    Is this possible in BOXI R2 that i created a List of Values like below:
    1. P1AF
    2. P1XA
    3. P2AF
    4. P2XA
    5. P2XD
    6. P3AF
    7. P3XA
    8. P3XD
    and i would like to show only 1 & 2 values for specific users. Or switch on /off some values without accessing the database.

    Can you confirm that this question is posted to the correct forum, or if it should go into another? 
    If this is Universe Designer related, you can review your LOV's by:
    1. right-click on the object in the universe designer, and select Properties dialog
    2. Select Properties tab,
    3. Select 'Display'
    4. then shift or control select the LOV's that you want to be viewable,
    5. enable the checkmark next to 'Show Selected Only'
    6. Click OK, and then save and re-export the universe.

  • BEx query based on virtual cube donu00B4t display a valid List of Value (LOV)

    Hello
    I have a problem with an invalid LOV. The scenario is the following; There´s a BEx query based on a virtual cube. The query has an exit variable on caracteristic that is based on 0CALMONTH.
    At Universe Designer I simply create a connection, a universe based on this query and export.
    At Web Intelligence (also at Live Office), when I try to execute de query, the prompt to fill my exit variable display a list of value that doesn´t match with the values of the caracteristic at the cube.
    Actually, the list at the prompt starts with 01.0000 and finishes with 05.0968.
    In Universe Designer, the option to edit the list of values is not available. But I think that editing the LOV is not the correct way.
    I´ve tried creating a new query based on the DSO that is the source of the virtual cube. In this case, I had a valid list. Unfortunately, I can´t use this DSO.
    Did anyone already have this problem?

    Hi James,
    can you explain what you mean with "input length for that filed" ?
    The field in the table is varchar2(120). I coudn't found options for the List of value.
    Thanks for your response
    Carsten
    null

  • Problem in using the List of Values(LOV)

    We created a folder 'Testing FCG' in the Business View Manager.
    1) In this we created a new connection of TCD371 Database ( conn) ,
    2) We created a new Data Foundation(DF)  using the existing connection and we added table 'cdhpmember' in the DF
    3) We created a new business element(BE) using DF and we added the column like Firstname,Groupkey and Gendercode
    4) We created a Business View (BV) using DE and we added DE to the BV
    5) We created a LOV(Memkey) using BV and we selected memberkey field
    6) We tried to implement the memberkey field into crystal report as a dynamic parameter
    7) When we try to run the report we got the error like this
    Promting failed with the following error message: 'List of Values failure: failed to get values. [Cause of error:CSELOVDataSource::setReportInstanceCUID The List of Values did not schedule sucessfully and must be re-scheduled.]'.
    Error source : prompt.dll Error code: 0x8004380D
    Could any of you give your input on this error?

    Either store it in the session scope, or pass it as a (hidden?) parameter along the request.

  • How to make text field in tabular form as List of value (LOV)

    So the problem is next:
    I should to make field in tabular form as LOV(list of value (combobox)) to load there data form db. Could smb take me an advise how to make it.
    Thanks.

    So thanks, I did it, it works. How now to make next: I selected Id from list and in the next column appears name with ID from DB. so how to make ondemand process i know (thanks to you), but how to get value from LOV that I selected to give it to Dynamic Action.
    Thanks

  • How to maintain List Of Values (LOV's) for BPEL Processes

    We are integrating two systems.Source and destination systems store data in different formats. For example State is stored as a string in source and its stored as an number in destination system. In BPEL we are trying to transform this information and send it to destination system so that it understands the incoming data.
    A sample of transformation we need to do is as shown below.
    State in Source     Sate in Destination
    Texas               1
    Nebraska          2
    But we have so many fields that we need to transform as we are doing for State.
    What is the best way of handling these domain mappings in BPEL. I want to know is there any efficient way we can handle this in BPEL as we do in J2EE applications(Maintaining them in Domain tables and making them available for all functionalities).
    We are looking to hold all these domain mappings at one place and use in all the processes we design.Can anyone suggest a better way to handle this for BPEL processes.

    Hi,
    I am using the lookup-xml for maintaining list of values.But dont know whats the problem unable to get the output.
    Example: this is just a sample one which i am testing.
    My xml file is placed in c folder with the name "StateList.xml" which contains the following info.
    <?xml version="1.0"?>
    <Countries>
    <Country><Abbreviation>CO</Abbreviation><FullName>CO</FullName></Country>
    <Country><Abbreviation>CT</Abbreviation><FullName>Connecticut</FullName></Country>
    <Country><Abbreviation>ID</Abbreviation><FullName>Idaho</FullName></Country>
    <Country><Abbreviation>NJ</Abbreviation><FullName>New Jersey</FullName></Country>
    <Country><Abbreviation>AP</Abbreviation><FullName>Andhra Pradesh</FullName></Country>
    </Countries>
    And in BPEL, in the transformation i am taking the input and assigning this lookup value to the output variable as follows :
    <ns1:result>
    <xsl:value-of select="orcl:lookup-xml('file:/c:/StateList.xml','/Countries/Country','Abbreviation','FullName',/ns1:HelloWorldPavanaProcessRequest/ns1:input)"/>
    </ns1:result>
    But unable to get the result.Kindly help me out in this.
    Regards,
    Pavana

  • Can't get a blank entry in Choice List of Values (LOV)

    Using Jdev 11.1.1.3 but will be upgrading to 11.1.1.5 in few weeks.
    Need to display a Choice List that is bound a view object with static data. The List should show a blank item since users don’t need to select any.
    I am able to display the LOV in the page but can’t seem to get a blank item as a first item.
    Here is what I did:
    1.     Created the VO with static data. Initially didn’t include it in the Application Module based on the developer guide sec 5.3 but later added to get it in the data control list.
    (Note the application doesn’t need to use any database and simply is using Web Service but for test I am using a DB)
    2.     To configured the VO, tried to add a View Accessor to the VO, but couldn’t select a data source until I added the VO to the App Module !
    3.     In attributes tab added an LOV and specified the data source. In UI Hints ensure the “Include “No Selection” Item” was selected.
    (Initially didn’t shuttle the attribute to the right in the UI hints.)
    4.     In the List UI hints ensured that “Include “No Selection” Item” was selected.
    5.     Dragged the VO Data control to the page and selected ADF Select One Choice.
    6.     On running the List DID NOT include a blank item !? How to get one?
    In pageDef got:
    <list IterBinding="GenderListVO1Iterator" ListOperMode="navigation"
    ListIter="GenderListVO1Iterator" id="GenderListVO1"
    DTSupportsMRU="true">
    <AttrNames>
    <Item Value="Gender"/>
    </AttrNames>
    </list>
    I even added the tag NullValueFlag="start" to the PageDef but no blank entry.
    In Page got:
    <af:selectOneChoice value="#{bindings.GenderListVO1.inputValue}"
    label="#{bindings.GenderListVO1.label}"
    required="#{bindings.GenderListVO1.hints.mandatory}"
    shortDesc="#{bindings.GenderListVO1.hints.tooltip}"
    id="soc3">
    <f:selectItems value="#{bindings.GenderListVO1.items}" id="si7"/>
    </af:selectOneChoice>
    If I don't use the VO and code all items in the JSPX page with a blank item that get a blank entry (didn't test with the Web Service yet since not ready).
    What is the issue with VO?
    ( I am also considering a number of SelectManyChecks on the same page but might be difficult)
    Thanks for the reply.
    Edited by: user8769031 on Jun 10, 2011 11:12 AM

    Thanks for the hint, but in my case the attribute is not required. I never see a blank entry. The only way I was able to get a blank is to add a blank item to the static list in the VO. The VO XML file has:
    <LOVUIHints
    ListType="105"
    MRUCount="0"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="LOVUIHints_NullValueId">
    The Include "No selection" item is not working as expected.

  • List of values (LOV) based on PL/SQL

    Is it possible to create a LOV based on PL/SQL ?
    I want to do this because I have at least 5 LOV based on the same query (when you are using bind variables).
    This is the normal query (ex.: LOV_FREQ_CODES) :
    SELECT c.code ||' - '|| c.description AS display,
    c.code AS return
    FROM codes c,
    code_types ct
    WHERE c.code_type = ct.id
    AND ct.code_type_description = 'Frequency' (should be a Bind Variable)
    Thx

    Look into "Pipelined Table Functions" (http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/x/Table_Functions_Cursor_Expressions/Pipelined_Table_Functions.htm)
    Basically you have your codes tables and a function (get_code). The function is passed a parameter (bind variable). The function then fires a query using the parameter value to render rows which are "pipelined" are a return value of the function. So you LOV query would look like:
    SELECT c.code ||' - '|| c.description AS display,
    c.code AS return
    FROM codes c, TABLE(get_code('Frequency')) ct
    WHERE c.code_type = ct.idMike

  • How to select multiple rows from List Of Values

    Hello,
    I use ADF 11g to create my list of values (LOV). I want to select multiple rows from it. but i can't.
    so how i can select many rows to set them in my adf table.
    Thank in advance

    Hi,
    LOV is map to an attribute in the viewObject so it will return only one value or more values from selected row. You can't select multiple rows from LOV.
    But you can do this by using popup which you can select multiple rows and insert the selected rows to another table.
    This blog post explain how to achieve this :
    http://husaindalal.blogspot.com/2009/11/search-from-popup-and-add-to-new-table.html#comments
    Sameh Nassar

  • Calling function from list of values section?

    can i call a function from list of values(LOV) section as well? I know we can sql query but udf is supported?

    See this recent thread: Display as Text (LOV) or join
    Scott

  • Interactive Report - One column based on a list of values

    I have an Interactive Report that's part of a Form with Report. The form works fine, but I have a problem with the interactive report. One of the fields is based on a list of values. That is, the data in the table in the State field has numeric state codes, 1 to 51. The form part has no problem with this, as it's a select list based on a list of values LOV query, so the user selects the actual name of the state.
    The interactive report, however, displays the numeric codes, which is what is actually in the table. I am looking in the column definition for some way to tell it to convert the value to the state name, but I do not see it. There is a List of Values place, but that seems to be for filtering purposes instead of for return vs. display value.
    3.2.

    Tharpa,
    I'm not sure if what I am about to suggest will work in 3.2. However, in 4.1, I am using LOVs with IRRs without any issue.
    For example, if I have an address field of state code, I have a named LOV (LOV_STATE). I go into the report attributes for this column. There, I find a section named "List of Values" In here, I pick the "column filter type" of "Use Named List of Values to Filter Exact Match". (Presumably, this will work with Static List too). When the column is displayed, I see the State name displayed.
    -Joe
    Edited by: Joe Upshaw on Mar 14, 2012 1:58 PM

  • Interactive Report - Column list of values

    The column header list of values feature is great but I think it would benefit from some usability enhancements. Specifically,
    1. Say I have a column which has 100s of distinct values. Clearly, I wouldn't want to enable the drop-down list of values (LOV) when I click on the column header. So I choose None for Column Filter List of Values. Yet, when I click on the column header, I get a [text field|http://screencast.com/t/M1SPYdAT] for filtering the (non-existent) values, which is a little misleading.
    May I suggest that choosing None should make this text field not appear? As a workaround, I use a user-defined LOV value like select 'Use <img src="/i/ws/action_dropdown.gif"/> to filter' from dual to nudge the user to use the main report menu.
    2. When I use the text field in the column heading LOV to narrow down list, Apex performs a "search as you type" query with a "contains" operator.
    May I suggest that
    a) this should be configurable (i.e. perform a "starts with" query or "contains" query)
    b) the search term matched so far should be highlighted in the results
    c) when I click on the column header, the text field should automatically get cursor focus so I can start typing without first having to click in the text field
    3. When I do use the main report menu to filter a column, is there a way to disable certain operators from the [Operator dropdown list|http://screencast.com/t/3kUwiNEH] ?
    For example, I have an indexed column so certain "index-friendly" operators (equality, starting with, less than, greater than, etc) are fine but I would want to disable operators which would not use the index (contains, not like, etc).
    4. I have a User Defined List of Values query for a column and the query returns 80 rows. When I click on the column header, only 11 values are displayed in the dropdown. But when I use Filter from the main IR menu and select that column and click on the LOV, all 80 values are shown. The same query is used in both places so I am puzzled as to why they would return different results.
    Is there a limitation on the column header LOV, some varchar2(4000) thing maybe?
    Thanks

    Vikas,
    Thank you for the feedback. For issue #1, we are aware of the bug. We should not display the text field if no LOV defined. Hopefully we have the fix by next APEX release. Issue #3 is a great suggestion. We will take a look to enhance that. I am unable to reproduce #4, could you please provide the test case in apex.oracle.com?
    Thank you,
    Christina

Maybe you are looking for

  • Drivers from various HP pre-installed software

    Hello, I Have an HP ENVY 6 1040EW Ultrabook. Because I had issues with my windows system I had to reïnstall windows with disks because a manual factory reset was not possible because of dammaged drivers. There where no disks for this particular lapto

  • Crystal Report 8.5 failed to do direct printing, but can preview and print

    Our application is utilizing Crystal Report 8.5 When we try to print a financial report that compares 2 periods (np for single period), it would fail to do direct printing and our application hanged with CPU 100% loading. However, if we do a preview

  • HOW TO SET UP EMAIL TO YOUR BLACKBERRY

    ProcedureTo set up your BlackBerry Internet Service or BlackBerry mail and messaging account, complete one of the following procedures: Create the BlackBerry Internet, BlackBerry mail and messaging, or BlackBerry Mail account from your BlackBerry sma

  • Problems With Reports server in Oracle 10g IAS

    I am having problems with the reports server. It keeps on giving me the error below REP-51002: Bind to Reports Server <myreportservername> failed I am able to correct it by restarting my server while my backup server is off the network and playing ar

  • Office Document Imaging as Viewer with Archivelink ?

    Hello, i'm dealing with these Archivelink themes for the first time. We have an archive (SAPERION) which is connected to SAP Rel.4.7 using HTTP. i've read the documentation but it's just confusing . What would be the customizing ( OAA3, OAA4 ?? ) to