Non-basetable input item in updateable report -SOLVED-

I have created a multirow update report based on a table.
One column contains time in seconds. I like to enable the user to enter the time in the format HH:MM:SS (it is not a time of day column, but total time, so I cannot use a datetime column). In Oracle Forms I would just add a non-basetable item, and use a calculation (in a validation trigger) to fill the hidden time column.
In a Form region I could easily do the same, but how can I do this in a multirow update report?
I found the solution for this specific problem:
I have to use the INTERVAL DAY TO SECOND datatype for the column instead of NUMBER.
Message was edited by:
pdevaal

thanx for reply ,
but plez read the requirement above mention.i understood  what are you saying .

Similar Messages

  • Oracle error ORA-22905: cannot access rows from a non-nested table item

    Oracle error ORA-22905: cannot access rows from a non-nested table item
    Creating a report using oracle plsql code .
    Getting error ;
    Oracle error ORA-22905: cannot access rows from a non-nested table item
    when I am trying to pass data in clause in pl sql proc
    basically I have a proc which takes 2 parameters(a and b)
    proc (
    P_a varchar2,
    p_b varchar2,
    OUT SYS_REFCURSOR
    culprit code which is giving me  the error and on google they say cast it but I dont know how to do it in my context
    --where  id in (
    --        SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_a) FROM dual)
    --        union
    --        SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_b) FROM dual)
    data sample returned from this :SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_a) FROM dual)
    'Abc','def',
    data sample returned from this;SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_b) FROM dual)
    'fgd','fth',
    Any answers ?
    How to pass data in clause in a better way

    Why are you creating a duplicate post? I already asked you to post p_cd_common.get_table_from_string. In particular what is function return type and where it is declared. As I already mentioned, most likely function return type is declared in the package and therefore is PL/SQL type. And TABLE operator can only work with SQL types.
    SY.

  • Recalculating fields in an updateable report when a page item changes

    Hi,
    On the one page I have a header section where the user enters the total number of items (eg. 50).
    I then have an updateable report on the same page where one of the columns is '% of the total items' and the last column of the table is calculated using javascript ('% of the total items' * 'total number of items').
    eg. the page could look like this :
    Total Number of Items : 200
    Item Type % of Total Items Calculated Field
    Toys 25% 50
    Clothes 75% 150
    When the value of the 'Total Number of Items' field is changed, I need to recalculate all the values for the last column.
    I've tried to do this using javascript based on what I could find on the forum, but when I change the value in the header section, the last column of all the table rows are not being calculated.
    Any assistance you could provide would be greatly appreciated.
    I have an onchange trigger on the total number of items field
    onChange="ReCalcProds()";
    and the javascript function looks as follows :
    function ReCalcProds()
    var answer;
    var amount1;
    var amount2;
    var tds = document.getElementsByTagName('td');
    for (var k=0; k<tds.length; k++) {
    if (tds[k].headers=="ACTIVITY_CODE") {
    var inputObjs= tds[k].getElementsByTagName('input');
    if(inputObjs.length>0) {
    for (var j=0;document.inputObjs.length; j++) {
    amount1 = parseFloat(document.getElementById('P9_TOTAL_PRODUCTIONS').value);
    amount2 = parseFloat(document.getElementById('f08_'+j).value);
    if (isNaN(amount1)){amount1 = 0};
    if (isNaN(amount2)){amount2 = 0};
    answer = amount1 * (amount2/100);
    document.getElementById('f11_'+j).value = answer;
    Many Thanks.

    anonymous,
    Check out another thread that had a similar topic. It may help you work through your issue.
    Re: Tabular Form - Dynamic Default Value
    Todd

  • Populating application item when updateable query report item is changed

    I have been looking at the help for cascading LOVs posted here. Unfortunately, I am not able to get it to work, and so am backing up with baby steps.
    I have a sql updateable report. It has a column (IN_STATE) that is a LOV sql query that pulls up a list of states. When a state is selected, I want the value to be placed in the application item, TEMPORARY ITEM. because I have copied the logic, it may actually be more complicated that needed at this point...happy to cut things out if need be.
    The updateabale report item, IN_STATE has the element attribute of:
    onchange="get_ajax_select_xml(this);"
    The region has an html header of:
    <script type="text/javascript">
    function appendToSelect(pSelect, pValue, pContent)
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    else {     
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    var g_area=new Object;
    var g_sub_area=new Object;
    function replace_select_list(pSelect,pXML)
    var l_Count = pXML.getElementsByTagName("option").length;
    pSelect.length = 0;
    for(var j=0;i<l_Count;j++){
    var l_Opt_Xml = pXML.getElementsByTagName("option")[j];
    appendToSelect(pSelect, l_Opt_Xml.getAttribute('value'),l_Opt_Xml.firstChild.nodeValue)
    function get_ajax_select_xml(pThis)
    var l_Return = null;
    var l_td=html_CascadeUpTill(pThis,'TD');
    var l_area=l_td.nextSibling.getElementsByTagName('select')[0];
    var l_sub_area=l_td.nextSibling.nextSibling.getElementsByTagName('select')[0];
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=get_area_code',html_GetElement('pFlowStepId').value);
    get.add('TEMPORARY_ITEM',pThis.value);
    gReturn = get.get('XML');
    </script>GET_AREA_CODE and GET_SUB_AREA_CODE are application processes.
    At this stage, I am just trying to polutate TEMPORARY_ITEM when IN_STATE is changed.
    Any hints are appreciated. thanks

    If you are working with APEX then you are posting on the wrong forum. This is the JDeveloper forum - try this instead:
    Oracle Application Express (APEX)

  • Region sql query(updateable report) data entry in non db columns

    In a tabular report type updateable report
    What is the best way to provide data entry into a non db column a) (to accept parameters for some on demand pl/sql processes)?
    Only when setting a) as a standard report column the db insert/update transaction can be processed
    When changing a) to text field the db insert/update transaction fails with en error (screen/db are not in sync which is not actually the case)
    a) should not be part of the db insert/update transactions but still allow data entry
    How can this be achieved?
    Thanks
    Peter

    Hi Peter,
    I think the easiest solution is to use an updateable view instead of the direct table access.
    Here is an example:
    CREATE OR REPLACE VIEW V_EMPLOYEES
    AS
    SELECT EMPLOYEE_ID
         , FIRST_NAME
         , LAST_NAME
         , FIRST_NAME||' '||LAST_NAME AS FULL_NAME
      FROM EMPLOYEES
    CREATE OR REPLACE TRIGGER TRG_V_EMPLOYEES
        INSTEAD OF INSERT OR UPDATE OR DELETE
        ON V_EMPLOYEES
        REFERENCING NEW AS new OLD AS old
        FOR EACH ROW
    BEGIN
        IF UPDATING
        THEN
            UPDATE EMPLOYEES
               SET FIRST_NAME = :new.FIRST_NAME
                 , LAST_NAME  = :new.LAST_NAME
             WHERE EMPLOYEE_ID = :old.EMPLOYEE_ID
        -- insert and delete is not allowed
        ELSIF INSERTING
        THEN
            NULL; -- there would be a insert code
        ELSIF DELETING
        THEN
            NULL; -- there would be the delete code
        END IF;
    END;
    /FIRST_NAME||' '||LAST_NAME AS FULL_NAME in the example view simulates your function call.
    There might be a possibility to do it in APEX as well, but that was the first solution which came into my mind.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

  • Non-english input in Wine[SOLVED]

    Hi,
    Non-english input characters in Windows apps under Wine appear either as blanks or as question marks. Any how-to is welcome .
    Meanwhile, I've googled an interesting advice (for Cyrillic):
    $ sudo ln -s en_US.UTF-8 /usr/share/X11/locale/ru_RU.UTF-8
    The most interesting part is a mystery: where am I supposed to create such a link?
    Last edited by Llama (2009-05-29 19:23:46)

    Peanut wrote:In other words, that command would overwrite the russian UTF-8 locale with an english UTF-8 locale. I can't see any reason why that should fix anything.
    For one thing, the ln command refused to overwrite anything . Yes, I've been curious about the reason.
    Peanut wrote:Have you:
    1) Installed and enabled fonts that support cyrillic characters?
    (1) ru_RU.UTF-8 alongside en_US.UTF-8:
    $ locale
    LANG=en_US.utf8
    LC_CTYPE="en_US.utf8"
    LC_NUMERIC="en_US.utf8"
    LC_TIME="en_US.utf8"
    LC_COLLATE=C
    LC_MONETARY="en_US.utf8"
    LC_MESSAGES="en_US.utf8"
    LC_PAPER="en_US.utf8"
    LC_NAME="en_US.utf8"
    LC_ADDRESS="en_US.utf8"
    LC_TELEPHONE="en_US.utf8"
    LC_MEASUREMENT="en_US.utf8"
    LC_IDENTIFICATION="en_US.utf8"
    LC_ALL=
    Peanut wrote:Have you:
    2) Tried using other encodings than UTF8?
    (2) No, I avoid non-UTF locales.
    Luckily, in this day and age the solution turned out to be fairly straightforward:
    Starting sequence:
    LANG=ru_RU.UTF-8 wine ...
    Aliasing, they say, is also possible :
    echo "alias wine='LANG=ru_RU.UTF-8 wine'" >> ~/.bashrc
    echo "alias wine='LANG=ru_RU.UTF-8 wine'" >> ~/.profile

  • How can I create an sql query updateable report

    Seems as though after upgrading our APEX version I no longer have the option to create an updateable report. Some of my old updateable reports seem to be working fine but some will not update after I click my submit button. AT first they just refreshed the page and ignored my changes to the data in the text field. After tinkering with the non working region, now I get a ORA-20001 current version of data in database has changed etc.
    HELP!

    Hi,
    OK - first, you can still create an Updatable Report. When you create a new report, select the Wizard Report option and follow the prompts. When the report has been created you can then switch it to be updatable. I don't know why it has been done this way, but that works.
    Second, on the reports that return that error, do you have any columns set a Standard Report Column? I have found that you need to include ALL columns in the data being submitted, even if that means you have to create a second instance of a column in your SQL statement and then make one of the columns Hidden. For example, if you created a Tabular Form using the wizard on the EMP table, you get EMPNO and EMPNO_DISPLAY, with EMPNO hidden. You would need to do the same for any column not being edited by the user. Something similar may also happen if you have made any of the INPUT items readonly or disabled as these are not submitted by the browser.
    Andy

  • Apex conditional field in "SQL Query (updateable report)" region

    I have a multi-row region that displays values and allows entries in a number of fields. I should like the fields to be conditional in that they do not permit entry, but still display, if certain conditions apply (e.g. older rows greyed out). Can this be done?
    I have searched Google and this forum but all the threads I have found relate to field formatting or display/non-display.
    Many thanks in advance Dave Barber
    [Apex=4.1.1.00.23; Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production]
    Edited by: user13515136 on 03-Sep-2012 00:05

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "user13515136".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I have a multi-row region that displays values and allows entries in a number of fields.Provide exact details of how this has been implemented. (An example on apex.oracle.com is always a good way to do this.)
    I should like the fields to be conditional in that they do not permit entry, but still display, if certain conditions apply (e.g. older rows greyed out). Can this be done? Almost anything can be done, often in multiple ways. Which are appropriate may be dependent on a particular implementation, the skills available to implement it, and the effort you're willing to expend on it. Hence it's necessary to provide full details of what you've done so far...

  • Update Field On Change For A SQL Query (updateable report)

    Hi,
    I'd like to request help from anyone with ideas on how to solve this.
    We are using APEX 4.2, 10GR2, RedHat5.
    I have a report that comes from SQL Query (updateable report).
    I'm using the apex_item.text and apex_item.hidden on fields.
    I'm using a button to submit and after submit process to add some logic that I need.
    There could be 1 - 10 records in the report.
    There is only 1 field that is needed to enter a value, but the value of this field determines the value of another field.
    I think that I can do this with a submit button and an after submit process where I loop through all the records. I think I have this handled.
    This is the question
    When the value of that field is changed then the value of another field in the same row changes immediately.
    Is this possible?
    All the examples I've seen so far are for a single record and that doesn't work for us.
    I guess this is a MRU process but I haven't seen an example where a dynamic action is possible on a Multi Row Update.
    Could anyone direct me to where I can see an example or help me get directions?
    I appreciate all your help an comments and I thank you in advance.

    Yes why not...what you looking for is a ajax call
    See {message:id=10390979}
    Please note:-you can also do this as a dynamic action as shown below
    Event: Change
    Selection type: jQuery Selector
    jQuery Selector: input[name="f01"]
    True action with Execute JavaScript Code and put all code inside the test funtion, you may need to amend the code to use this.triggeringElemnt in place of this

  • How to get rid of labels in updateable reports?

    Hi,
    can anybody tell me how I can hide the labels in table cells of updateable
    reports?
    Thanks, Chris

    I'm not sure about updateable reports since I haven't used one. But, for normal items, I put a "style" for the label and then use javascript to hide it.
    Something like this:
    In the Label:
    <p id="P1_MyItem_Label_ID"  style="font-weight:bold;color:black;font-size:8pt;display:block;"> My Item: </p>In the page footer:
    <script language = "javascript">
    if(my condition == "true")
    {document.getElementById('P1_MyItem_Label_ID').style.display='none';}
    </script>

  • Wwv_flow_item.popupkey_from_query in combination  SQL updateable report

    Hi,
    I found out that wwv_flow_item.popupkey_from_query in combination 'SQL updateable report' does not work. It does not display the popup. It creates a extra column with the message below.
    In combination with 'SQL query' it works. Is it possible to make it work in combination with updatable reports? If so can you tell me how?
    Thanks in advance,
    Patrick
    Message:
    <NOSCRIPT>JavaScript not supported</NOSCRIPT><SCRIPT LANGUAGE="JavaScript1.1"> <!-- Comment out script for old browsersfunction genList0_f05_0() {           w = open("wwv_flow_utilities.gen_popup_list" +                       "?p_filter="  +                       "&p_name=" + escape('f05') +                       "&p_element_index=" +  escape ('0') +                       "&p_hidden_elem_name=" + escape('f04') +                       "&p_form_index=" + escape('0') +                       "&p_max_elements=" + escape('') +                       "&p_escape_html=" + escape('') +                       "&p_ok_to_query=" + escape('YES') +                       "&p_flow_id=" + escape('2648') +                       "&p_page_id=" + escape('8') +                       "&p_session_id=" + escape('276014029277327813') +                       "&p_eval_value=" + escape('') +                       "&p_return_key=YES" +                       "&p_translation=" + escape('NO') +                       "&p_lov=select+short_name,+id+from+rio_reps",                       "winLov",                       "Scrollbars=1,resizable=1,width=400,height=450");           if (w.opener == null)             w.opener = self;           w.focus();         }//--> </SCRIPT><div nowrap><INPUT TYPE="hidden" NAME="f04" VALUE="" id="0" ><INPUT TYPE="hidden" NAME="p_arg_names" VALUE="0"><INPUT TYPE="text" NAME="f05" id="0" disabled onfocus="this.blur()" ><IMG SRC="/i/list.gif" alt="LIST" border="0" align=bottom></div>

    you're seeing that error because those project marvel updatable report regions expect a regular query that they then turn into an updatable report for you at runtime. you're kind of confusing things when you try to provide it with your own calls to wwv_flow_item in there. the way to really take control of the way your updatable report will render is to code it as a regular report region in which you make your own wwv_flow_item calls. an easy way to generate that region code would be to step through our updatable report wizard and let marvel do it for you. the first screen of that updatable report wizard presents you with the option of having the flow builder "Use flows built in updatable query page process" or "Generate PL/SQL logic directly into page process". if you use this second option, your resulting query will have those calls to the wwv_flow_item package in it. so let's say you step through the wizard to generate an updatable report for the SCOTT.EMP table. you'd probably get something like this...
    select
    wwv_flow_item.hidden(1,EMPNO)||
    wwv_flow_item.text(2,EMPNO) EMPNO,
    wwv_flow_item.text(3,ENAME) ENAME,
    wwv_flow_item.text(4,JOB) JOB,
    wwv_flow_item.text(5,MGR) MGR,
    wwv_flow_item.text(6,HIREDATE) HIREDATE,
    wwv_flow_item.text(7,SAL) SAL,
    wwv_flow_item.text(8,COMM) COMM,
    wwv_flow_item.text(9,DEPTNO) DEPTNO
    from #OWNER#.EMP
    ...as your query in that report region. you could then tweak your wwv_flow_item calls to generate other item types like so...
    select
    wwv_flow_item.hidden(1,EMPNO)||
    wwv_flow_item.text(2,EMPNO) EMPNO,
    wwv_flow_item.text(3,ENAME) ENAME,
    wwv_flow_item.textarea(4,job) JOB,
    wwv_flow_item.text(5,MGR) MGR,
    wwv_flow_item.date_popup(4, null,HIREDATE) HIREDATE,
    wwv_flow_item.text(7,SAL) SAL,
    wwv_flow_item.text(8,COMM) COMM,
    wwv_flow_item.popupkey_from_query (1,deptno,'select dname, deptno from dept') DEPTNO
    from #OWNER#.EMP
    ...so now you'd have the an updatable report that used a date picker, a text area, and a popup key LOV as opposed to the one with straight text areas that was generated by default. take a look at the docs for the wwv_flow_item api at http://marvel.oracle.com/pls/otn/f?p=4200:58 to see just how much control you'd have.
    hope this helps,
    raj

  • Updateable reports and checksums

    Hi,
    I would like to know whether there is an easy way to understand the algorithm behind saving an updateable report.
    I spent a couple of hours messing around with columns that were saving state, or not, and that were visible according to the show checkbox, but still were of the type hidden, and apparently it makes a difference too if the column is shown in the template, it makes me more and more confused the longer I look at it.
    Sometimes my report will not update nor give me an error when some of the (to me) unpredictable settings are not correct.
    I ended up creating a textbox that had a style="display:none" so I could use it in the validation, but not let the user see or change it.... That can't be the way you meant it to be, or is it?

    Wendy,
    It’s actually pretty straight forward. If you check the HTML source if your page using you’re browsers show source function, and you can find the corresponding f0x columns, then the column is included in the checksum. Otherwise it’s not. Of course you shouldn’t have to check the HTML source, I’m just making this suggestion as an easy way to verify. If you want to include a column in the checksum, and in the form, set the display type to HIDDEN, this renders HTML items of type HIDDEN. This is different from showing or not showing a column. Again, pretty straight forward explanation. If you include a column as HIDDEN, then a somewhat web savvy user could still read the values by looking at the HTML source. So to avoid exposing sensitive information, you can set the show flag to No, or better, use conditions or authorization schemes. And if the user isn’t allowed to see the data, and isn’t allowed to edit the data, then there shouldn’t be a reason to include that column in the tabular form.
    Regards,
    Marc

  • Select All problems on an updateable report

    Greetings. I have a problem with the Updateable Report functionality in Apex version 3.0.1.00.07. I'd love to demonstrate the problem, but my account at apex.oracle.com is version 3.2.0.00.27, and apparently, the Updateable Report functionality has been removed from that version. Does anyone know if there's a way to create an Oracle account using older versions?
    My problems, in brief, are that when you have more than one updateable report region on the same page, clicking Select All on either table selects all rows of both tables; and that if both tables have only one row, clicking on Select all does nothing.
    Please see http://docs.google.com/Doc?id=dccf36js_40gmczpddd for a more detailed problem description.
    Any thoughts on how to solve either or both of these problems is much appreciated. Thanks!

    Hi,
    Firstly, you can still create Updatable reports in the latest version of Apex. Create a Report using the SQL Wizard and, when the report region has been created, change the report type.
    Secondly, the checkboxes for both reports are being ticked/unticked together as the javascript being run assumes that there is only one updatable report on the page and, therefore, only one set of "f01" checkboxes. You can get around this by overriding the javascript by adding your own version.
    Create a new region in the Before Footer region of the page and using No Template (so that the region is hidden) and use the following as the source:
    &lt;script type="text/javascript"&gt;
    function checkAll(masterCheckbox) {
      var p = masterCheckbox.parentNode;
      while (p.tagName != 'TABLE')
        p = p.parentNode;
      var f = p.getElementsByTagName("input");
      if (masterCheckbox.checked) {
        for (var i = 0; i &lt; f.length; i++) {
          if (f.type == "checkbox") {
    if (f[i].checked==false) {
    f[i].checked=true;
    highlight_row(f[i],i);
    } else {
    for (var i = 0; i&lt; f.length; i++) {
    if (f[i].type == "checkbox") {
    if (f[i].checked == true) {
    f[i].checked = false;
    highlight_row(f[i],i);
    &lt;/script&gt;
    I have done this here: [http://apex.oracle.com/pls/otn/f?p=267:82]
    One thing though...  What happens when the user submits the page?  Both reports will have "f01" checkboxes with values starting from 1 and only those that are ticked are submitted with the page.  Thus, a checkbox with a value of 1 could refer to either report.
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Setting fields defined in SQL updateable report with a process

    I have SQL statement defined in a SQL updateable report with hidden fields. I want to be able to update these hidden fields with values from other displayed fields on the page. How do I reference these hidden items - I have referencign them as :my_field but get and error telling me thats its underfined.

    But, the reason I am doing this is because I want to format the page with 6 columns in one <TD> cell with some extra text and formatting etc - I don't want 1 column per <TD>. Thats why I am using the APEX_ITEM.TEXT so I can format the 1 <TD> the way I want it (with 6 columns it there).
    In the short term can you tell me how to reference hidden fields please.
    I will create the case in apex.oracle.com in the next few days to make it clearer.
    P.S. see my previous post: SQL QUERY updateable report with APEX_ITEM fields to update hidden columns

  • SQL Query (updateable report) Region - Conditionally Hide and Set Values

    SQL Query (updateable report) Region - Conditionally Hide and Set Values
    Outline of requirement :-
    Master / Detail page with Detail updated on same page using SQL Query (updateable report).
    The detail region has the following source
    SELECT item_id,
           contract_id,
           CASE WHEN hardware_id IS NOT NULL THEN
                   'HA'
                WHEN backup_dev_id IS NOT NULL THEN
                   'BD'
                WHEN hardware_os_id IS NOT NULL THEN
                   'HS'
           END item_type,
           hardware_id,
           backup_dev_id,
           hardware_os_id
    FROM   "#OWNER#".support_items
    WHERE  contract_id = :P26_CONTRACT_IDThe table support_items implements arced relationships and has the following columns
    CREATE TABLE SUPPORT_ITEMS
      ITEM_ID         NUMBER                        NOT NULL,
      CONTRACT_ID     NUMBER                        NOT NULL,
      HARDWARE_ID     NUMBER,
      BACKUP_DEV_ID   NUMBER,
      HARDWARE_OS_ID  NUMBER
    )A check type constaint on support_items ensures that only one of the fk's is present.
          (    hardware_id    IS NOT NULL
           AND backup_dev_id  IS NULL
           AND hardware_os_id IS NULL
    OR    (    hardware_id    IS NULL
           AND backup_dev_id  IS NOT NULL
           AND hardware_os_id IS NULL
    OR    (    hardware_id    IS NULL
           AND backup_dev_id  IS NULL
           AND hardware_os_id IS NOT NULL
          )    Hardware_Id is a FK to Hardware_Assets
    Backup_dev_id is a FK to Backup_Devices
    Hardware_os_id is a FK to Hardware_op_systems
    The Tabular Form Element based on item_type column of SQL query is Displayed As Select List (based on LOV) referencing a named list of values which have the following properties
    Display Value     Return Value
    Hardware Asset    HA
    Backup Device     BD
    Computer System   HSThe Tabular Form Elements for the report attributes for hardware_id, backup_dev_id and hardware_os_id are all Displayed As Select List (Based on LOV).
    What I want to do is only display the Select List for the FK depending on the value of the Select List on Item Type, e.g.
    Item_Type is 'HA' then display Select List for hardware_id, do not display and set to NULL the Select Lists for backup_dev_id and hardware_os_id.
    Item_Type is 'BB' then display Select List for backup_dev_id, do not display and set to NULL the Select Lists for hardware_id and hardware_os_id.
    Item_Type is 'HS' then display Select List for hardware_os_id, do not display and set to NULL the Select Lists backup_dev_id and hardware_id.
    There are properties on elements to conditionally display it but how do we reference the values of the SQL query Updateable region? they are not given a page item name?
    Also on the Tabular For Elements there is an Edit tick against a report item - however when you go to the Column Attributes there is not a property with which you can control the Edit setting.
    What's the best way of implementing this requirement in APEX 3.1?
    Thanks.

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "user13515136".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I have a multi-row region that displays values and allows entries in a number of fields.Provide exact details of how this has been implemented. (An example on apex.oracle.com is always a good way to do this.)
    I should like the fields to be conditional in that they do not permit entry, but still display, if certain conditions apply (e.g. older rows greyed out). Can this be done? Almost anything can be done, often in multiple ways. Which are appropriate may be dependent on a particular implementation, the skills available to implement it, and the effort you're willing to expend on it. Hence it's necessary to provide full details of what you've done so far...

Maybe you are looking for

  • How to print the page number in a background processing program

    HI All, I have requirement where i need to print the page number in x of y format and the program is getting executed in background and  csv file will be downloaded at application server.     i tried using sy-pagno but it is not working.

  • Is it possible to download your songs from the ipad to a separate harddrive? harddrive?

    is it possible to export your songs, books etc from the ipad to an external hard drive?

  • PI Email Alert Configuration - Multiple Alert in Adapter Engine

    Hi, My SAP PI alert emails are now working. However, when I get an error in the Adapter Engine (RWB),MULTIPLE OF EMAIL ALERTS are being sent. When an error occurs in Integration Engine, only 1 email alert is sent. For the Adapter Engine Alert Rule, i

  • Importing classes confusion AS3

    I must admit, I don't know Actionscript 3.0 extremely well but I know my way around it and am able to get by as a designer. I'm just wondering if classes should ALWAYS be imported. The reason I ask is because sometimes I don't import classes but my A

  • Dynamic columns in OBIEE

    Hello all, I have a weird requirement. Report is based on the period date we selected. We pass a Period/Month as parameter, once that is passed we want the data of the previous 4 months. Say for example, he passed parameter as Feb'10 -- we want data