Report "Display Text (Based on LOV)" columns don't like colons - Bug?

This is a bit hard to explain in text, so I've built a sample app: http://apex.oracle.com/pls/otn/f?p=9608:1
The app has two pages, which demonstrate two related bugs in the handling of Report "Display as Text (based on LOV)" columns.
Basically, if the LOV query returns a string that contains colon characters (":") in the display column, the values are matched up correctly, but the colons are stripped from the display.
If the LOV query returns a string that contains colon characters in the return value column, then the matching fails entirely.
Removing the colon characters eliminates the problem.
We actually ran into this in a production environment, after an upgrade from Apex 3.0.0 to 3.2.1. The behavior definitely did not occur in Apex 3.0, but was added at some point between the two versions.

The colon is actually part of our data (the field in question is a URN namespace).
And yes, I understand the function of the colon in Apex URL parameter passing. However, I wouldn't expect that sort of parsing to be used against the results returned from an LOV query.
Also, the LOV is fine in of itself -- a select list based on the LOV displays & returns the expected values. It's only when I use a report column based on an LOV that this behavior creeps in.
We've found a (fairly painful) workaround -- altering both the report query and the LOV query to to do something like replace(column, ':', '_') -- but that's a manual change to a large number of pages for us.
This behavior is new to version 3.2.1. It didn't happen in version 3.0.

Similar Messages

  • 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 <select>...<option...>...</select> , 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,

  • Display as Text based on LOV - formating

    I have a slight problem with
    Display as Text based on LOV report column formating.
    Whatever I try to enter, regardless where CSS Clas, CSS Style - formating simply
    doesn't work. The only formating that works is:
    Number / Date Format.
    Is there a solution for this?
    Thanks,
    Denes Kubicek

    I found a simple workarround and I will post it:
    1. Instead of using LOV I created a function that does the same
    ( using a cursor and returning a value )
    2. Since the field needed to act as a link, I used css to format the output
    and it worked just fine.
    Thanks,
    Denes Kubicek

  • Where is "Display as Text (based on LOV, saves state)"

    I am developing an application using the version of HTMLDB that comes with OracleXE.
    I have a tabular form, in which the default column for a particular item is sourced from a previously entered item on another page. This is a lookup item and needs to be non-changeable by the user. So I want to use the "Display As" option "Display as Text (based on LOV, saves state)". However, this option is not available in the pull-down for "Display As". The option "Display as Text (based on LOV, does not save state)" is available, but using this option means that the item is not saved to the database.
    Does anyone know why the stateful display as option is not available.
    Thanks in advance,
    Rob

    Scott, thanks for the feedback. The problem is that although the value is displayed correctly, it is NOT saved to the database. Effectively, header information is entered in a previous screen, and one of the entered fields is written to each of the detail lines associated with the header. We are re-platforming an existing application (written in an obscure form of basic), and at this stage changing the schema is not an option. So this header item (which is a foreign key to a "store" table), is meant to be written down to each line, on the screen displayed as the store name, and written to the inserted lines as the lookup id. If I use the dispaly as text save state option teh database is updated correctly, but displays the id rather than name on the screen. The only display as lov option i can see is the one that does not save state. If I use this option the screen displays as I want but the database is not updated. I need to use the display as lov saves state option. but i do not see it.
    Any ideas?
    Thanks for your time.
    Rob

  • Annoying [ ] with "Display as Text (based on LOV, saves state)"

    Hi all,
    I've got a form where some items are shown as “Display as Text”. These values are displayed normally.
    But I also have some items which are shown as “Display as Text (based on LOV, saves state)”. When I run the page and these items don't return a value (because it isn't filled in in another page), we get the annoying []-sings.
    Is there anyone who knows how to fix this, I just want to display nothing when there is no value.

    I've tried this one already.
    I tried to leave it blank, & nbsp ; , text,... but the problem is that our lov is build by a function and it always returns a query, so the LOV is never null.
    I figured something out: made a process after header that has some cursors to get the values from the database and changed the item to a simple display as text-field. There were only 4 that were wrong, so it wasn't to much work.

  • Display as text (based on LOV) not working

    hi --
    I've not used this kind of item before, so there's probably some really simple thing I'm missing....
    Have the LOV:
    select objecttype_name display_value, objecttype_id return_value
    from hdb_objecttype_syn order by 1
    Return value is going into page item :P3_objecttype_id (a popup LOV). Have another item, :P3_objecttype_name, which is a display as text (based on LOV) item. When/how is this item supposed to get populated? When I select a value from the LOV, I'd expect the text item to be set to the display value of the LOV, but it is always []. The source type of :P3_objecttype_name is Sql Query, and the query is:
    select objecttype_name from hdb_objecttype
    where objecttype_id = :P3_objecttype_id
    Does the page have to be submitted before the display item is populated? Seems like that wouldn't be very helpful...
    Thanks,
    C

    HI Varad -- I'm afraid I'm new enough to all this to not know how to implement either of your solutions... and that's after scanning the forum for additional info.
    How do I get the page to submit? Is there any way to do this w/o forcing the user to explicitly press a button? (which would be way too much, as there are probably 10 LOVs on this page).
    If I choose to use javascript, 1) on what item and under what attribute do I put the script (is it on the objecttype_name that needs to be populated?), and 2) where can I find an example of what this might look like? I'm not familiar w/ it at all.
    My goal is ultimately to have an LOV that displays both the key value and the name (which I guess can be accomplished by concatenating those together in the LOV select statement), to return the name to the page, and then have the ID automatically filled in to match the key (the example I sent you is backwards, simply because I started building this page w/ only key values displayed, added the name as a test later.) And, I also want the user to be able to type in the ID (no LOV would be attached to it), and have the name automatically populated. I'm guess this could be accomplished in a way similar to having the name filled in after the value is chosen from the LOV... If I can just figure out how to do that!
    Thanks,
    Carol

  • Cannot see Display as Text (based on lov, saves state)

    I have raised this question on the HTMLDB forum (Where is "Display as Text (based on LOV, saves state)" but in case its XE specific I am posting here too.
    I have a tabular form in the XE version of HTMLDB, and wish to use the "Display as Text (based on LOV, saves state)" option. However, this option does is not available to me - are there some conditions necessary for this option to be displayed?
    Thanks, Rob

    Rob,
    I doubt it's an XE specific issue. I've asked for more information in the original thread.
    Sergio

  • Display As Text (based on LOV, saves state)  "p_t03" was assigned by APEX

    Hi All,
    I have an ITEM
    Name: P36_INT
    Display As: Display As Text (based on LOV, saves state)
    Output in my HTML:
    [input type="hidden" name="p_t03" value="YES" />[span id="P36_INT">Interior[/span>
      'p_t03' was assigned by APEX
      In my Javascript I have to access it as the following to get the "YES" value:
      var lintObj = html_GetElement('p_t03');
      Originally it was 'p_t01' but it changed from 'p_t01' to 'p_t03' somehow.. out of my control.
      How do I assign an ID or assign my own name to the "hidden" item?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Scott, thanks for the feedback. The problem is that although the value is displayed correctly, it is NOT saved to the database. Effectively, header information is entered in a previous screen, and one of the entered fields is written to each of the detail lines associated with the header. We are re-platforming an existing application (written in an obscure form of basic), and at this stage changing the schema is not an option. So this header item (which is a foreign key to a "store" table), is meant to be written down to each line, on the screen displayed as the store name, and written to the inserted lines as the lookup id. If I use the dispaly as text save state option teh database is updated correctly, but displays the id rather than name on the screen. The only display as lov option i can see is the one that does not save state. If I use this option the screen displays as I want but the database is not updated. I need to use the display as lov saves state option. but i do not see it.
    Any ideas?
    Thanks for your time.
    Rob

  • Display as text (based on LOV saves state) : possible border ?

    Hi,
    Like mentioned in the subject, I have many Display as text (based on LOV saves state). I would like to have a frame or a border around this field eventhough it's read only, like a regular field. How can I do that ?
    thank you.

    Depending on your visual requirements, you could change the items to Text Fields (disabled or not) then simply make the Read-Only atttribute set to "always" or something that would equate to "always". It would look just like a text field (since it would in fact be one), but would be read-only.
    Sadly, this would require you to change all your items to the new type which would take time.

  • SQL Report Display Error when change LOVs In Report Attribute.

    Dear Friend,
    i have created SQL Report .Now In Agent Name Column ,Agent_code is Display .
    i want to display Agemt Name In to Agent_CODE Column so i have change in Report Attribute-->edit column AGENT_CODE-->Tabular Form Element-->Display As text (Based on LOV,Does not save state) -->List of Values -->Agent_name
    Apply Changes .
    Then it show me Below Error in Report
    report error:
    ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too smallHow to resolve it?
    Thanks
    Edited by: Vedant on Sep 5, 2011 10:06 PM

    Dear Jari,
    yes i am not using Named LOV ,
    i am follow
    Report Attribute-->Tabular Form Element-->Display As text (Based on LOV,Does not save state) -->List of Values -->Agent_nameThen Show me Error.
    thanks
    Edited by: Vedant on Sep 6, 2011 1:37 AM

  • How to display value based on LOV selection

    Hi,
    I have an editable table. On create operation one of the field is LOV, based on LOV selection the next field should be auto populated, please help me how to achive this.
    Thanks,

    Thanks for your reply........
    I did all these to get value based on LOV selection, but my problem is when i am trying to create a new record then everthing is working fine but normal search i am not getting the value of that attribute.
    below is my code
    Page:
    <af:column sortProperty="ProcessType" filterable="true"
    sortable="true"
    headerText="#{bindings.CmWeeklyProcesses.hints.ProcessType.label}"
    id="c36" width="340px;">
    <af:inputComboboxListOfValues id="processTypeId"
    popupTitle="Search and Select: #{bindings.CmWeeklyProcesses.hints.ProcessType.label}"
    value="#{row.bindings.ProcessType.inputValue}"
    model="#{row.bindings.ProcessType.listOfValuesModel}"
    required="#{bindings.CmWeeklyProcesses.hints.ProcessType.mandatory}"
    columns="#{bindings.CmWeeklyProcesses.hints.ProcessType.displayWidth}"
    shortDesc="#{bindings.CmWeeklyProcesses.hints.ProcessType.tooltip}" inlineStyle="width:800px;"
    valueChangeListener="#{backingBeanScope.backing_app_CalcSchedules.weeklyDescription}"
    autoSubmit="true" >
    <!-- <f:validator binding="#{row.bindings.ProcessType.validator}"/>-->
    </af:inputComboboxListOfValues>
    </af:column>
    <!--value="#{row.bindings.Description.inputValue}" backingBeanScope.backing_app_CalcSchedules.description-->//If i use this value in the below property line then i am not getting value while creating time but if i done blind search then i am not getting any value in this field.
    <af:column sortProperty="Description" filterable="true"
    sortable="true"
    headerText="#{bindings.CmWeeklyProcesses.hints.Description.label}"
    id="c35" width="390px;">
    <af:inputComboboxListOfValues id="descriptionId"
    popupTitle="Search and Select: #{bindings.CmWeeklyProcesses.hints.Description.label}"
    value="#{row.bindings.Description.inputValue}"
    model="#{row.bindings.Description.listOfValuesModel}"
    required="#{bindings.CmWeeklyProcesses.hints.Description.mandatory}"
    columns="#{bindings.CmWeeklyProcesses.hints.Description.displayWidth}"
    shortDesc="#{bindings.CmWeeklyProcesses.hints.Description.tooltip}" inlineStyle="width:1000px;"
    readOnly="true" partialTriggers="processTypeId">
    <f:validator binding="#{row.bindings.Description.validator}"/>
    </af:inputComboboxListOfValues>
    </af:column>

  • Displaying text based on variable

    I have a variable defined as brushSize.  Depending on the value of brushSize, I want to display text in a dynamic text field that relates to its value.
    For brushSize values of 3, 13, 23, 33, and 43 I'd like to  display 1, 2, 3, 4, and 5 respectively.  I'm not really sure where to begin here, but I have tried and failed with something like this:
    if( brushSize == 3) {
        brushSizeDisplay("1")
    Any suggestions?

    When I open up a new flash document and start from scratch, it works fine.  But when I try to apply it to my existing project it isn't translating.  Here is the code for the variable that I wish to determine what specific text to display:
    var brushSize:Number = 23;
    var brushSizeMax:Number = 43;
    var brushSizeMin:Number = 3;
    function changeValue(pHow:Number){
        brushSize += pHow;
        if(brushSize > brushSizeMax){
            brushSize = brushSizeMax;
        if(brushSize < brushSizeMin){
            brushSize = brushSizeMin;
        brushSizeText.text = brushSize;
    brushUp.onPress = function(){
        changeValue(10);
    brushDown.onPress = function(){
        changeValue(-10);
    when I try
    if( brushSize == 3) {
         brushSizeDisp.text=1;
    I get no results.  brushSize is my variable, and brushSizeDisp is the instance name of a dynamic text field that I placed on the stage.

  • Bex report displays text Error in the result

    Hello,
    In my bex query result the text ERROR is displayed beside the value of a keyfigure.
    I'm not able to figure why this appears and how to find the error.
    Thanks.

    This is due to the absense of unit/currency against the key figure in the info provider.
    Maitain the currency/unit and then run the report. This should rectify the report error.
    Naveen.A

  • How to display data based on two columns in Apex calendar?

    I have a table for holiday details with 2 date columns...from-date and a to-date. I need to display the name of the person for the date range they have specified. For Ex if i applied for leaves from may 1 to may 4...the calendar should display my name for 4 dates i.e may1,2,3 and 4
    I am new user in apex and still trying new things. Please help me achieve this.

    Swetha
    I created an application using Apex. It is a calendar application to show events that are happening. I ran into an issue with it
    If there is an event that occurs during an interval like August15 - August22, the event is shown only on August15, which is the first day of the event. I would like to show it in all days from August15-22.
    Here are the items coming from the page
    event_id number,
    employee_id number
    date_from date,
    date_to date,
    due_date date,
    act_id number,
    act_loc varchar2,
    reminder varchar2,
    frequency varchar2,
    division varchar2,
    event_status varchar2
    I am looking to write a process / procedure where it can show the same event on all the days it is occurring
    Thanks in advance
    Latha

  • Displaying text item inside the page I would like

    Hi, is it possible to open and display from text item link new window with formatting title, description and own text, but not only on the blank default page, but on the special page which I have created for this (with my layout as a template)?
    Thanks
    Marek

    Hi Marek,
    I believe what you are looking is for the new Portal 10.1.4 feature - itemplaceholder:-
    http://download.oracle.com/docs/cd/B14099_15/portal.1014/b13809/template.htm#CIADAEGG
    "You can use Portal Templates for items to enforce a particular layout, style, and associated content. With Portal Templates for items, a requested item displays within the layout defined by the template rather than in place on the item's container page. For example, when a link to an item displays on the item's container page, users click the link, and the item content displays within the context of its associated Portal Template. The item's content is displayed in place of the item placeholder on the template."
    I hope it helps...
    Cheers,
    Pedro.

Maybe you are looking for

  • Srm 7.0 - Transfer of Supplier - Temporary Contact Person Creation

    SRM 7.0/ECC 6.04 During transfer of supplier from supplier directory from ROS/SUS to EBP client, and vendor replication from ECC to SRM as Supplier Portal the system is not creating temporary contact peson. Per SAP documentation if the Temporary cont

  • Reg:Single Check for Multiple Vendors

    Hi Experts, I want to Issue a Single check for all vendor open items... For this is I created one Group Key and assigned in the vendor master record, but while doing the payment separate check issuing for each vendor, any idea

  • A Conflict between Adobe LiveCycle Data Services 2.5.1 & JBoss 4.0.3 SP1

    Hi All I have tried many times unsuccessfully to install LCDS on jboss 4.0.3 sp1 (which is the JBoss turnkey solution for Adobe LiveCycle). I understand there is a conflict as stated in the LCDS installation manual as follows: "XPath Issues with JBos

  • Acrobat 8.1.2 MSP will not update old MSI

    Has anyone been able to update the Adobe Acrobat MSI file with the 8.1.2 MSP and push it out through Active Directory? I run the msiexec /a "MSIFILE" /p "MSPFILE" command and it says it updated the msi. Then when I try to run the msi file it go to in

  • Authorization for project (table PROJ)

    Hi experts ! I would like create role for PS modula which is limited to field Object Class equal Investment. Itu2019s impossible. How I can check which field I can use for authorization for project (table PROJ). Rgds Stenwa