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

Similar Messages

  • 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

  • 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

  • Disable Static IP in Windows 8.1 and Windows 7 or Powershell Script to get network "connected to" value

    Hi,
    I´m in a situation where I need to disable static IP option on all Domain machines (workstations). I have found many different forum topics about that but nothing is suitable for me. Let me describe a situation:
    * In our environment every computer have specific IP configured in DHCP (specific MAC = specific IP). Machines Must be configured DHCP enabled!
    * In our environment all developers are local admins in their computers. This can´t be changed as we are IT corporation and this is our policy.
    * As every IP have specific rights in Firewall to access different places then some IT guys are quite smart to change their IP to static IP that have more access then they should have.
    This last thing is my main problem! We have working PKI and NPS in both WLAN and LAN so only domain and certified computers can have access to our local network. My mission is to prevent local admins to change IP addressess by themselves but I can´t find
    a good solution for doing that. I have tought about Powershell script that is published by SCCM or GPO to all workstations and script idea is to find network card that is "connected to" our "domain.com" network. If this is true then automatically
    DHCP will be enabled for that interface (Set-NetIPInterface -Dhcp Enabled). I know that here is an open window for some moment when script will be ran again or GPO policy will be refreshed but it´s better then nothing. In this script I have one problem - I
    can´t find a solution about how to find network interface that is connected to our "domain.com"? It seems that there is no easy way to do that. 
    Is there any other and better solution to accomplished this situation. Any good ideas will be appreciated.
    Best Regards,
    Taavi

    Hi,
    the real answer is the one you don't want to hear: don't make your users local admninistrators.
    Local administrators will always be able to get araound any security measurement you put in place. For gpo's for example, they can identify the involved registry key, configure it to their desired value and
    remove privileges for everyone but themselves to write the key. Upcoming 'gpupdate' will not be able to write the values...
    For your script, I would recommend to just configure all adapters to dhcp on the client computers. After all the location detection depends on the network Location Awareness service. If your users disable that one (an rermove the appropriate privileges from
    registry ;) ) your script would again be useless.
    That being said, as you post to the security forums my answer is focussed on the security off your solution. if you need assistance in creating this script, I would advice to post back in the Scripting guys forums (and leave out the why as you will otherwise
    agin be pointed on the flawed security ;) )
    I think get-connectionprofile might already be helpull on 8.1
    MCP/MCSA/MCTS/MCITP

  • 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.

  • 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

  • How to disable an LOV wrt value in another LOV?

    I have a javascript function that works fine if P2_BANK_ASSIGNED is a text item. But if I change it to an LOV is doesn't work. How do I disable an LOV on value of another LOV?
    <!--===================================================================-->
    <!--FUNCTION TO DISABLE LOV BANK ASSIGNED IF LOV TRIAL IS <> 0 -->
    <!--===================================================================-->
    <script type="text/javascript">
    function disBankAssigned(){
    var lReturn = $x('P2_TRIAL').value;
    if (lReturn == 0 ) {
         $x('P2_BANK_ASSIGNED').readOnly = false;     
    else {
         $x('P2_BANK_ASSIGNED').readOnly = true;     
    </script>
    onchange="disBankAssigned();"
    regards
    Paul P

    Try $x('P2_BANK_ASSIGNED').disabled = true;     (or false)

  • 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

Maybe you are looking for

  • [SOLVED] Upgrade to XOrg 1.15 broke KWin and DRI_PRIME

    I did another "pacman -Syu" this morning hoping for an uneventful update. However, after a reboot I found my KDE to be in a pretty much useless. Windows were black except for decorations (http://prifuk.cz/non_drupal/kwin_black.jpg) and DRI_PRIME=1 do

  • How can I burn more than 7 of the same playlists?

    Burning just 7 playlists seems arbitrary. No one in their right mind would use this method to pirate music. I am making Christmas gifts for friends. Is there a way around this limitation?

  • The fan stop working

    the fan stop working and the guaranty  finish last week  i dont now what to do

  • How to flash point (oval) ?

    Hi, I am using the Graphics, and give red color on the point (oval) that I designate. The following is the way I am using: g.setColor(Color.red); g.fillOval(128,53,4,4); However, I hope to flash the point (oval). Can you give me some clues? Thanks.

  • 10.4.10 audio problem =

    After the 10.4.10 upgrade quite a number of audio devices didn't work anymore... Earlier I posted a question, if anyone had a solution to downgrading, if you no longer have an older system in stock, but I found the answer after serious hours of searc