STATIC LOV COLORS

I have created a select list in a report with
static LOV.
Does anyone know how to change the font
color of each option in the select list?
Example for options 1,2,3
something like this:
<font color="red">1</font> .... red
<font color="green">2</font> ... green
<font color="blue">3</font> ... blue
Thanks

Thanks marife
for the good suggestion. It seems that the colour
pattern works absolutely fine but the problem is that
it creates another line for each option and
makes the select list a bit difficult difficult to read.
By the way i am using htmldb_item.select_list
and not an actual select list.
If you have any better suggestions let know
thanks,
Ody

Similar Messages

  • 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

  • Referencing static LOV from plsql

    I have a number of static LOV's. How can I reference these in PL/SQL.
    For example, I am creating a report using PL/SQL so that I can create the exact layout I require. The data uses a number of list of values so I need to convert the value fields into the displays fields from the list of values using PL/SQL.
    How?

    Jezzer,
    It will depend on your version. If you are using 2.2 or 3.0, you could use the view APEX_APPLICATION_LOV_ENTRIES to access your lov values. It will automatically be limited to the workspace that your schema is associated with and then you can further qualify with the APPLICATION_ID and LIST_OF_VALUES_NAME. To see the view, navigate to Utilities > Application Express Views and query on lov.
    -- Sharon

  • Bug Report: Static LOV's and PDF Printing with Tabular Forms

    I have a tabular form, which acts as an editable report. Some columns are 'Standard Report Column' and some are Select Lists, using Static LOV's with the contents of
    Yes;Y,No;NThe purpose of the page is to allow users to edit yes/no attributes of a row. Then, they can print the report.
    To make the current sort of the report reflect what is being printed to PDF, I've used a Report Layout associated with the report region, as oposed to a report query. A report query in this case would not reflect the sort of the report (all columns are sortable asc/desc).
    Anyway, I link my report with the layout created, and go to run it. I get this message.
    ORA-06550: line 1, column 50: PLS-00103: Encountered the symbol "," when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "," to continue.
         Error      ERR-1000 Unable to determine LOV from "declare function x return varchar2 is begin Yes;Y,No;N return null; end; begin wwv_flow_utilities.g_query := x; end;".
    OK      
    report error:
    ORA-20001: Error fetching column value: ORA-01403: no data foundI'm guessing the product is trying to take my static LOV and place it in a function to be able to generate which value is being displayed as text, from the select lists. However, it doesn't work.
    I've been able to get around it - by adding a YES_NO domain to my domain_codes table (a table which associates abreviations with full meanings), I can set by select lists to be query based select lists using the SQL select code_meaning, code from domain_codes where domain = 'YES_NO_CODE'. This still allows the user to dropdown Yes/No fields, and the PDF printing doesn't break.
    It is just me, or can't the PDF printing handle static LOV's in tabular forms/reports?

    Hi Patrick.
    I've tried STATIC:Yes;Y,No;Nwhile stating it is a Select List (static LOV). The values that are rendered on the page are
    [STATIC:Yes]
    [No        ]
    ----------I tried the same thing with STATIC2 instead of STATIC, and the same thing happened.
    It also broke if I tried STATIC or STATIC2 under Select List (query based LOV). This is within a report where there is no hyperlink to say 'Create/Edit static list' or 'Create Dynamic List', as there is under select list items.
    However, I am finding that for some reason, the values being sent to the PDF are not the values in the database (Y/N), but the showing values (Yes/No). This happens when I use the domain_code select query as the query based LOV.
    Furthermore, I cannot get any columns not rendering on the page to be generated in the PDF. I have a column that groups items depending on values, and I want this grouping to display in the PDF instead on the original value, ideally.
    Cheers,
    K.

  • Static LOV functions differently in 9.0.2 from 9.0.1

    In my previous Portal applications under IAS 9.0.1 I had several static LOV's that contained the following structure:
    DISPLAY VALUE RETURN VALUE
    Login User Name #PORTAL.wwctx_api.get_user
    This worked as expected, the user sees the display of 'Login User Name' in a drop down list on a form, but the users login name was actually inserted into the table when Insert is selected.
    I've since upgraded IAS to 9.0.2 (no patchsets installed)
    This same LOV no longer works. What gets insert into the table is the string "PORTAL.wwctx_api.get_user" and not the users name, as before.
    I know I can kluge something similar into a dynamic LOV but does anyone know why this function call no longer works? I have several similar LOV's that get sequence number nextval's in a similar fashion and they no longer work either.
    Thanks

    A TAR has been created concerning this issue, 2841152.996. If anyone has had similar results, please review it at http://metalink.oracle.com/metalink/plsql/tar_main.single_tar?p_tarNumber=2841152.996&p_countryCode=840&p_show=Show++

  • Radiogroup static LOV only displays the first label.

    I have a simple static LOV for a radiogroup item, but it won't show the 2nd label. It is the second radio group item on the page and the first works fine.
    2nd LOV:
    STATIC2:Yes;1,No;2
    Any suggestions, please?

    The first LOV happens to use the escape character of a bar STATIC2(|,;) because I have numbers with commas in the label (e.g., $5,000).
    If I put the 2nd LOVE before the first by changing the sequence, it works, but I don't want it before the one with the escape character.

  • Table Filter with static LOV column

    Hi,
    I am using JDeveloper 11.1.14 and ADF-BC in my project.
    For one of the tables,I have the following scenario.
    1. I have a viewobject [Ex: EmpVo] in which one of the attributes has a static LOV[:Ex: 'Status' attribute in EmpVo has static LOV - StatusLOV with values A - Active I - Inactive].
    2. EmpVo -- > Employee table which stores A and I as status values in database
    3. Display this view object as table in jsff page.
    In the jsff page, when filter is enabled, for the status column I am able to filter only using 'A' and 'I'.
    But actually filter has to work with 'Active' and 'Inactive' as filter values.
    Please suggest the best way to implement filter in this scenario
    Thanks,
    Praveen

    Take a look at the following article:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/16-custom-table-filter-169145.pdf
    Here, for LOV's you could have an LOV as a filter component instead of the default inputText component.
    Thanks,
    Navaneeth

  • STATIC vs STATIC2 in static LOV definition

    Hi All,
    what is the difference between STATIC and STATIC2 ?
    The documentation on creating checkbox references word 'STATIC'. When I create static LOV by clicking 'Create or edit static List of Values' link on 'Edit Page Item' this uses word 'STATIC2' in LOV definition.

    One sorts values alphabetically and the other in the order in which they are written.
    Jure

  • Bug in Static LOV definition in tabular form?

    I have always defined static LOVs as follows
    STATIC:Yes;Y,No;N
    but now with V4.0+ the select list at runtime appears as follows:
    STATIC:Yes
    No
    Suddenly the literal "STATIC" is appearing in the first display field.
    If I omit the word "STATIC:" from the definition, it seems to work fine. Was this an intentional change in the definition of static LOVs? If so, you then the developers need to update the help text for LOVs.
    PaulP

    bump...

  • Very Urgent!!  Static LOV with Sort by Option with column names

    Hi All,
    Can we have am Static LOV with an order by option according to the column names in an Report..
    If so can you share with me, waiting for your reply and thanks in Advance..
    Select
    name,
    creator,
    date_created,
    NVL(Comp_type,Del_TYPE) FORMAT,
    from Table_name
    So i want to order by the following columns wrt Static Lov both Assending and Descending Order by
    like Name(Asc), Name(Desc),Creator(Asc),Creator(Desc) and so on for other columns
    Thanks and Regards,
    Suri

    where u are callling perform field_cat in ur program ?
    flow will be like this
    perform fcat.
    perform alv_display.
    form fcat.
    add code here for fcat.
    endform.
    form alv_display.
    call alv here
    endform.
    Regards
    Peram

  • Modify dynamically Static LOV and System Tables

    Hello,
    Does anyone know if it is possible to dynamically modify a Static LOV using a system table. All suggestions greatly appreciated!
    Sharon

    Hello,
    I am converting a program from the old HTML-DB. The original program dynamically manipulated a static LOV using a system table. I am trying to do the same thing. If it is possible to dynamically change a static LOV I would like to know how. If there is no way in APEX, I will create a table and dynamically change the table. Thank you for your suggestions.
    Sharon

  • Graph using static lov

    I am using a static lov which has a code and description. I select an entry from this lov and it's code is stored in a table.
    I now want to create a chart on the contents of this table, but need to translate the code stored in the table to the description stored in the static lov.
    Is it possible to do this? If so, any hints!?
    Toby

    So you have a table with a code value in it. The description of the code value is in a static LOV item. I would suggest creating a table in the database with the code and description. Then use a dynamic LOV instead of the static LOV and of course for completeness sake create a foreign key from the table you currently have to your new LOV table.
    Now to get the description of a code, you just do a SELECT on your code/description table. This would be helpful for a chart title maybe?
    Your LOV item on your page will visually display the description, but when referenced it will have the value of the code. So have your SELECT statement in your chart reference your LOV in its WHERE clause.
    Mike

  • Dynamic/Static LOV

    Hi,
    Im havin a little trouble trying to do the following:
    I have a LOV that does a query, but besides the query I want also to have an static option on the LOV that represents all the options, any idea how can I achieve this?
    thanks

    I'm not quite sure if I have understood your requirement; you want to have a LOV which always shows the same records?
    If so there comes 2 possibilities to my mind:
    - You could create a record group at runtime, populate this record group with your desired values, and assign your record group to your LOV.
    or
    - create a table where you store your static values you want to show, and do a query on the table. Maybe you could add a realm to the table, as if you wish to use your static LOV elsewhere you could also simple use your static LOV table...
    maybe
    select key_col, name_col
    from static_lov
    where realm = 'FORM1_LOV1'regards

  • Disable Static LOV

    I'm an APEX 4.1 user and a novice. I have a tabular form with several columns and rows of data. Each row has a static LOV and a comment field for end users to modify and save. I want to disable the LOV and comment field (at a row level) whenever the end user selects certain values in the LOV and saves. I've looked all through the forum and didn't seem to find the solution for my particular scenario. Any suggestions would be greatly appreciated.

    bump

  • Translate static LOV values ?

    Hello,
    I need to translate a French application into English. I've followed the translate processus, but I've got a problem with static LOV values.
    I use radiogroup with static LOV, and it seems that I can't translate these static values, but I have to do it.
    Any idea to help me?
    Tanks

    Another solution is to define both French and English (or whatever) item in the LOV. For each item in it, you specify a "Conditional Display: current language = Expression" --> fr-ca for exemple. So in your LOV, you will have something like this.
    YES --> Y
    NO --> N
    Oui --> Y
    Non --> N
    Depending on the current language, you will see only 2 items in that LOV.
    That should do it.
    Christian

Maybe you are looking for

  • Putting a row in 2d array

    Hello, I try to insert a 1d array into a 2d array. I use the "Insert into array" function, but it just refuses to do it. I wire the output array to a local variable of the 2d array, but it just won't work. Help!

  • Installation Serial for Acrobat Pro dows not match

    Hello, I have installed my Adobe Design Standard this morning. All items of this Installation went right. The serial of my Student and Teacher Edition match properly for all of the programms except the Adobe Acrobat pro. Where can I find the right in

  • Leopard Freezes on Restart

    I'm having a Leopard installation problem I haven't seen discussed, so here goes. Installation appears to go as it should (taking about an hour). I get a screen saying installation was successful and a count-down to restart. I click restart. GRAY scr

  • Tax Classification Change in MM17

    Hi, we want to change tax classification that defined in Material Master/Sales Org. 1 view from %18 to %8 for all FERT products. I execute MM17 tcode and choose MLAN table from list and when i select a material and get into "Data Records to Be change

  • Every time I open Internet, I receive a message that my last session closed unexpectedly, even thouhg it did not.

    When I am finished with internet I close the browser, from the "X" at the top right, or from the File, Exit options. But the next time I open internet (from the desktop shortcut or from the start menu, I receive a window that says my last Firefox ext