How to update the table when change list item in the classic report

Hello
I worked with apex 4.2 and I create normal classic report with list (named loved) select a column, now I want to update the table when the user changes the list with the new value, I can't create a dynamic action to do this, I create checkbox with the primary key and the loop for check point to update the table but I can not get the value of the list item. and for more speed, the user want to do it when changing the value from the list.

My question
1. how to do it in javascript and get the value of the list item and update the table with the new value
2. do I have to use the API to create the list item so I can get the value of the report item or what.





Thank you

Ahmed

You can find a lot of information in this forum (and outside in google) when you search for AJAX processes and demand. However, the tutorial in the link below should be useful:
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/hol08/apexweb20/ajax_otn.htm

BTW, if we answer your question, don't forget to mark the appropriate post as correct. It will help all of us in the forum.

Tags: Database

Similar Questions

  • How dynamically update the role of oracle using the trigger

    How dynamically update the role of oracle using the trigger:

    I have svmanger owner of schema in the database. There are five tables belonged to svmanager.

    Table A, B, C, D, E.

    I have a role that is played only to these tables under the scheme: SVMANAGER_READ_ONLY

    now, if I create a new table F under svmanager. the role that svmanager_read_only does not work is updated, so the user had assigned role cannot access table F.

    is there a way to create the trigger for this role dynamically update any when a table is created or deleted?

    Thank you.

    I really really really don't suggest to do this - it's a bad habit. If possible I'd just adding the grant as part of the steps to the role on the new creation of the table.
    But for fun here's how you can accomplish this:

    create or replace procedure execute_grant(v_ddl in varchar2)
    is
    begin
       execute immediate v_ddl;
    end;
    /
    
    create or replace trigger catch_create_table_trg after create on schema
    DECLARE
    
    ddl_job number;
    ddl_str varchar2(50);
    begin
       IF ora_dict_obj_type = 'TABLE' THEN
    
           ddl_str := 'GRANT SELECT ON '||ora_dict_obj_owner||'.'||ora_dict_obj_name||' TO SVMANAGER_READ_ONLY';
    
           dbms_job.submit(job => ddl_job,
           what => 'execute_grant(''' || ddl_str || ''');',
           next_date => sysdate+(5/24/60/60));
    
       END IF;
    end;
    /
    

    Test it

    create table F (id number(1));
    

    Validate

    select * from ROLE_TAB_PRIVS where ROLE = 'SVMANAGER_READ_ONLY';
    
  • How mass update the display name for a group of existing emails?

    We were recently acquired and at the end of April will undergo a change of name of company official. Is there a way to mass update the display name for all or most of the emails without manual update of each individual file in the details by email? I know how to update the name of the company in the configuration > system management > company display settings > name of the company; However, this is only the default display name for e-mail messages that are created from that moment. It is not to update existing records, as I understand it. This will be a huge pain updates of each email for each existing campaign in the program generator, so if there is a solution, please let me know!

    sc * 2799241 * tr-j' thought that this might be the case. We will make do. Thanks for your reply.

  • How to update the drivers NVIDIA for Pavilion dv6755el.

    Hi, I know it please tell how to update the video card driver, in which rirectory GB installed, because I stood Blue Shield and microsoft has identified that the video card driver is not updated, I followed the procedure of upgrading HP but found no drivers. ? I downloaded directly from NVIDIA updated for my card, but I can't find where the original, but the installer says C:\Nvidia... Thank you

    I don't think it's asking you where to install, it can ask for a place to decompress the files, so just say ok the location by default, he suggests. If the installation does not continue after developing files, switch to that folder where it expanded their and find the Setup, the exe file and run it.

    .

  • How to update the model of RDS for Windows Server 2012 collection?

    Hi team,

    I want to know how to update the collection of RDS model (model master sysprep) which is used to create the collection?

    I tried the below way but did not get the update of the collection of virtual machines.

    -Start the image of mater of sysprep

    -install the required components

    -resysprep the image and stop it

    -East went to the RDS Collection and added new virtual machines in collection (removed the old his)

    Once created, I opened a session in the machines, but I don't see the updates (I installed some software in the sysprep image however and no is not there in the virtual machines in the pool)

    Can someone let me know if I need to create a whole collection again or the way I do it is a proper way? If it's a good way what could be the reason why I get the new installed software model sysprep image in virtual machines created in the pool, based on the model?

    How do we actually updated for security and other regular patches updated in virtual machines? In my view, we use the same approach?

    Any suggestions will be appreciated.

    Kind regards

    original title: Windows Server 2012 RDS - model Sysprep update process and collection of creation

    Hi MS Expert 2010,

     

     

    I wish that you post your question in the TechNet Forums as it is addressed to an audience of it professionals.

     

    Check out the link-

     

     

    TechNet Forums

     

    Hope this helps!

     

  • refresh rate... How to update the drivers for the monitor in Vista

    How to update the drivers for the monitor in Vista

    You are welcome.

    Normally, you go to the Web site of the pre-installed drivers.

    But, if you have any problems, andf Forum hardware drivers is the best place to ask.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to avoid the total general of the classic report when the column break is installed in the Apex

    Hi all

    I develop application using Oracle Apex 4.2.0.

    I created the classic report Page.

    That I have summarized a column by selecting the check box check sum for the column.

    His shows the Grand Total.

    Then I chose the columns to break to the first column.

    His show the total groupwise and total as well as great as image below.

    dc.jpg

    My requirement is

    Need to hide total(Total:)) GroupWise or total general. I need to show any a total, not both.

    How to do this?

    Thank you

    Su.GI

    Su.GI wrote:

    Hi, thanks for your response.

    I use theme - productivity Application - issue 26

    -Standard model

    Report - report of Standart for classic report model.

    The above CSS code where I want to use in the page or report or model region.

    Specify a static region ID for the report area and put the following CSS rule in the CSS Inline property page:

    #static-region-id .uReportStandard tr:last-child td {
      display: none;
    }
    

    where static-region-id is the ID specified for the region.

  • change the color of line based on the value of column 5 Apex in the classic report

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Hello

    I know this question has been asked several times here, but I'm working on 5 Apex and need to know the correct way to do it in this version.

    I need to change the color of the text of the entire line (no background color) based on the value in one of the columns of the classic report. I have just two conditions, if the value of column = Yes, color should be red, otherwise it must be green.

    I am new to jscript and css, so appreciate if someone can tell me the solution with steps.

    I have already checked this link that changes the value of the column, need to do something similar to the whole line.

    https://tylermuth.WordPress.com/2007/12/01/conditional-column-formatting-in-apex/

    Hi coolmaddy007-Oracle,.

    Here's an example set up on the apex.oracle.com according to the specifications you gave: https://apex.oracle.com/pls/apex/f?p=35467:1

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Here is how it is done:

    Create a dynamic action with the following specifications:

    Name: Give the appropriate name

    Event: After refresh

    Selection type: region

    Region: select your region classic report

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code:

    $('td[headers="JOB"]').each(function() {
      if ( $(this).text() === 'MANAGER' ) {
        $(this).closest('tr').find('td').css({"color":"red"});
      }
      if ( $(this).text() === 'SALESMAN' ) {
        $(this).closest('tr').find('td').css({"color":"green"});
      }
      if ( $(this).text() === 'CLERK' ) {
        $(this).closest('tr').find('td').css({"color":"blue"});
      }
    });
    

    NOTE: Download the selector appropriate for your knowledge $('td[headers="JOB"]') case using firebug/browser development tools.

    Items concerned: leave blank.

    PS: Changed the example to change the color of text instead of the background color.

    I hope this helps!

    Kind regards

    Kiran

  • How to replace the interactive report '-' for null with white columns fields?

    The reports interactive one places '-' for null column fields. In the classic report, column null fields remain just as a draft. Y at - it a setting to change how many interactive reports display columns null fields? I would prefer that it be display as the classic report and leave the fields to null as a draft column.

    THX

    Published by: jngoracle on July 24, 2010 22:43

    Hello

    Will modify your report interactive report attributes.
    In the paging section, you can change attribute "see the Null Values as".

    BR, Jari

  • How to read the Statspack report in Oracle 11.2 g Standard Edition

    Dear all,

    I use Oracle 11.2 g Standard Edition in the laboratory.

    For the performance tuning, how to read the Statspack report?

    Please note I cannot use the feature of Oracle AWR due to the Limitation of the license. Thus, as if I will generate report AWR with Oracle Standard Edition, it will be not correct error and printing "time DB is equal to zero for any report interval."

    Sumit-
    Bangalore, India

    The CWA requires additional licenses - Oracle's Diagnostics Pack.
    http://download.Oracle.com/docs/CD/E11882_01/license.112/e10594/options.htm#CIHIHDDJ

    This is only available for the Enterprise Edition licenses on top. I don't know anyway to the CWA standard edition licenses, so I recommend against using it even where it does not on its own.

  • How to color line specific "BOLD" / inactive in the classic report (oracle apex).

    I have the classic report in oracle apex

    with query below

    Select EMPNO, ENAME, HIREDATE, ADDRESS of emp COMM;

    If the ENAME = "John".

    so, I want to do any "BOLD" line and readonly/inactive. (set of rank who name John)

    Thanks in advance...

    Simple answer: see this blog: reports APEX: color line based on column value

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Highlight a line in the classic report based on condition

    HI all the gurus

    Apex 4.1.1 using oracle 11g linux oc4j

    I want to emphasize a line where #column_value #= 'Y' to keep gray others like normal report parameters.

    I have a simple sql query

    SELECT PK_ID,
      FIRST_NAME,
      LAST_NAME,
      INITIAL_REG_DATE,
      MAIL_DATE,
      BEGIN_DATE,
      END_DATE,
      END_DATE-BEGIN_DATE as "#days",
      BEGIN_STATUS,
      END_STATUS,  
      COMMENTS,
      DELETE_FLAG,
     case when  DELETE_FLAG='Y' then 'GREY' else '#f0f0f0' end  DELETE_FLAG ,
    INITIAL_REG_DATE+(END_DATE-BEGIN_DATE) "New Reg end date"
    FROM SOR_TRACKING_DEL
    where pk2_id =:P216_Detail
    order by mail_Date desc
    
    
    
    

    I created a dynamic action

    who will be the tree on load, LINK on this classic report

    $("input[name=f29]").each (function () {}

    var lThis = $(this);

    {if (lThis.is("Y"))}

    lThis.parents("tr:eq(0)").children("td").css({"background-color":"GREY"});)

    } else {}

    lThis.parents("tr:eq(0)").children("td").css({"background-color":"#f0f0f0"});)

    }

    });

    But it doesn't change color as expected...

    Kindly help me!

    Thank you

    Scott and Tom

    Thank you guys for looking into this.

    Pls ignore my incorrect explanation and my inexperience with jquery.

    I read some blog and trying to do the same on the classic report, but all blogs, I found to this day called interactive report or tabular report, that none of them mentions classic report.

    I assume that using the classic report will not be a good idea to start with. :/

    I don't know if this is the proper syntax and logic to highlight the line

    $(function(){

    varDELETE_FLAG = $(this);

    If DELETE_FLAG.is("Y"))

    {

      DELETE_FLAG.parents("tr").children("td").css({"background-color":"GREY"});).

    }});

    I also created app here

    http://Apex.Oracle.com/pls/Apex/f?p=35155

    get out of the workspace

    Tester/testing

    request 35155

    Thanks again.

  • Bug report? WITH the statement contained in the classic report LOV

    I've defined a "list of selection with query based lov' in a column of the classic report, and if I try a clause
    with data as (Select 4 qty from dual)
    select round(100/qty*(level-1)) perc, round(100/qty*(level-1)) c
    from data
    connect by level <= qty +1
    I get this error
    WWV_FLOW_UTILITIES. ERR_LOV
    ORA-06550: line 1, column 45: PLS-00428: an INTO clause in this SELECT statement
    ORA-06512: at "SYS." DBMS_SYS_SQL", line 1249
    ORA-06512: at "SYS." WWV_DBMS_SQL', line 930
    ORA-06512: at "SYS." WWV_DBMS_SQL', line 999
    ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 695
    ORA-06512: at "APEX_040200.WWV_FLOW_UTILITIES", line 927 >
    It is fine when I remove the WITH and put my value inside the rest of the query.

    Wait?

    Request Express 4.2.1.00.08

    I think you just need to make it clearer to the 'engine '. :)

    Try this:

    select  perc d, c r
    from (
      with data as (Select 4 qty from dual)
      select round(100/qty*(level-1)) perc, round(100/qty*(level-1)) c
      from data
      connect by level <= qty +1
    )
    

    I found that LOV analysis can be picky sometimes.

    Thank you
    -Jorge

  • Special characters in the classic report

    Hello

    I'm unable to display special characters in the classic report.

    "For example""" is coming as ' '.

    Is there a way to fix this?

    It seems that use characterset "WE8ISO8859P15" is causing this issue, which is a single-byte character set and so unable to encode these characters.

    Please correct me if I'm wrong.

  • How to get the checkbox value when value list changed in the classic report

    Hello
    I worked with apex 4.2 and I create normal classic report with a checkbox column and a single column change to select list (named loved) now, when I want change to user list
    take the value of the checkbox element and display it in the message.

    SQL for the report

    {
    SELECT
    "" "< INPUT TYPE ="checkbox"NAME ="f01"VALUE =" "
    || SEQ
    |'">"SEQ, "
    ID,
    DEPT_NO,
    EMP_NAME} I change the column attributes of Dept_NO to display as the selection of the name of the Department (named lov) list.

    now, I want when change of user name of the Department, the value of the MESSAGE ALERT SHOW IN SEQ

    I create JavaScript on the page

    function test (pThis) {}
    var f01_value = $('select[name="f01"]').value;

    Alert ("#SEQ:" + f01_value);

    }
    < /script >
    I call this javascript function when the change in the list, but the value undefined...

    My Question:

    How can get this value or any value of the point in reports

    concerning
    Ahmed

    Hello
    Check your page now.

    As mentioned earlier, you must use APEX_ITEM. CHECKBOX2.

    APEX_ITEM.CHECKBOX2(2,EMP.EMPNO,null,null,null,'f02_'||lpad(ROWNUM,4,'0')) NO,
    

    And the javascript function will be

    
    

    You cannot use $v to get the value of the checkbox element such that it works differently for the boxes, see http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/javascript_api.htm #BGBGDGIH.
    Therefore, you use the jQuery val().

    See you soon,.

Maybe you are looking for

  • Computer Dell won't start windows xp

    what it means when it says floppy diskette seek failure drive 1 not found serial ATA SATA - 2 Dell Dv051 series BIOS version A03

  • Edge 13 sleep problem win7 (intel)

    Hello I think I have a sleep problem with my edge. If I close the lid, I can still hear the hard drive by clicking on current time to time and CPU fan. I checked all the power settings and it should go to sleep and nothing should stop going to sleep.

  • Can someone help me to find out what is my Web server?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: Im trying to set up Windows mail and I wonder which internet server use my system?  Uh, IDK - please help me find this answer.  Thank you

  • Skype install problems with Windows 7; error 1603

    I had problems with Windows 7 and error 1603... Tried to erase all previous installations of Skype, but continue to get the message "cannot locate %appdata%\.  Error 1603 "I did a bit of research and see that 1603 is a fatal error and all the info th

  • IOM 11 GR 2 - Configuration of automatic approval for automatic recording - organization field

    HelloI am trying to configure automatic approval of record auto in OIM 11 g 2.I read a lot of links (a relative majority of 11 GR 1 material) but I'm still not able to do this due to the field of the organization being approver onlyI tried to use an