Another way to highlight a line of standard report

Other than to build a new report template to handle this and the case being there can be multiple reports who need a line of highlighting a different column for each report value-based...

I thought of a dynamic action could be used, but I don't know if it works... Here to highlight a column in a row, she would need to scroll each column report affected...

Any ideas?

Thank you

Tony Miller
Dallas, TX

Yes it works, I've wasted with the statement at page 2, so I could confirm that it works well with pagination too. The format of the jQuery is exactly as described... $(' td [headers ^ = "HIGHLITE"]: contains (Y)') .parent () .children () .css ("background-color", "yellow");

Tags: Database

Similar Questions

  • Highlight duplicates in a Standard report

    Apex 3.2

    Theme 15

    Standard report template

    I have a classic report

    Select

    C001 store, shortdescr, longdescr, seq_id, delete 'delete '.

    of apex_collections, vpe_bas_cloc cloc

    where cloc.extkey = c001

    and collection_name = "VPE_STORE_COL."

    to_number order (c001)

    If c001 is reproduced in the report, I want to emphasize the lines concerned.

    I know how custumisé the report model, but what sql can I use in the report

    Thank you

    Gus

    Gus C wrote:

    Apex 3.2

    Theme 15

    Standard report template

    I have a classic report

    Select

    C001 store, shortdescr, longdescr, seq_id, delete 'delete '.

    of apex_collections, vpe_bas_cloc cloc

    where cloc.extkey = c001

    and collection_name = "VPE_STORE_COL."

    to_number order (c001)

    If c001 is reproduced in the report, I want to emphasize the lines concerned.

    I know how custumisé the report model, but what sql can I use in the report

    Add a column Analytics County to the query and hide it in the report.

    ...
    count(*) over (partition by c001) store_count
    ...
    

    Use #STORE_COUNT# > 1 as the condition of line model in the column called report model.

  • APEX variable for the number of lines of standard report?

    Hi people!

    Pagination to any report APEX, there is this "X-Y-Z" option, with Z showing the number of selected lines. I need this "Z".

    In my report, I have several filter options, and I would like the user to get feedback on the number of rows is selected as "X / Y", with there being a number calculated in advance and X number of rows returned. Now I was run all of the report a second time, by storing the count (*) result in a page item, but if there is a variable that already exist in the APEX (for paging) that would no doubt make things a little easier. I havn't found anything still looking, but more probably, one of the experts here knows how to access this value.

    Thanks and regards,

    Tobi

    You are supposed to be able to get the required information using the #TOTAL_ROWS # and #LAST_ROW_FETCHED # substitution string in the footer region.

    Note that for #TOTAL_ROWS # to work the report must use a paging system that calculates the total number of rows, for example "line ranges X y z (with pagination).

    However, the #FIRST_ROW_FETCHED # and #LAST_ROW_FETCHED # currently no change when I test it. These substitution strings are not compatible with the mechanism of updating now used partial page for pagination of reports, either this is a bug.

  • Using an iPad, I can choose highlight text with a button at the bottom, but after every time that I've highlighted some of the text, I need to press the button again to continue to highlight. Is there another way to continue to highlight?

    Hello

    In Acrobat Reader mobile applications, the tools of comments (as point climax, strikethrough, underline, Sticky Notes) are not "sticky".  As you mentioned, you must select a feedback tool after each use.

    Would you submit a feature request form?

    Adobe Acrobat for iOS - feature request/Bug Report Form

    Here's another way to highlight the text.

    1. Long press (press and hold) on the text you want to highlight.
    2. Adjust the selection of text by moving the blue circle ("grabber") (right, left, up, down).
    3. Select to highlight in the context menu that appears.

    He still won't tools reviews "sticky."  But you do not need to activate the tool commenting and keep reaching out to the icon to highlight in the toolbar at the bottom.  If some users experience less cumbersome or annoying when adding point culminating/bar/stressed to a large number of pages in a PDF document.

    Thanks for the comments!

  • How to highlight a line in IR based on the user name

    Hello
    What is the best way to highlight a line in an IR, based on the user name. IE APP_USER.
    Suppose that if an APP_USER connect to the application, the line corresponding to the APP_USER international registration should only be highlighted.
    (The button change is not visible in IR)

    Hello

    Value of APP_USER is uppercase. Your name column values are lowercase.
    Example of code I have after string comparison is case-sensitive.

    I don't have to change your action Dynamics example JavaScript to convert the value of the cell uppercase

    this.affectedElements.find('table.apexir_WORKSHEET_DATA td[headers="NAME"]').each(function(i){
        var lThis=$(this);
        if(lThis.text().toUpperCase()=="&APP_USER."){
            lThis.parent().children().css({"background-color":"#55A955"});
        }
    });
    

    Now, it should work

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Highlight the line in the standard State is based on the value in the column...

    I'm trying to highlight the lines of a standard report based on the value of the TICKET_TYPE column.

    I followed the post: highlighted a line in a tabular form based on a column in the row

    but the difficulty. I have the following error:

    ORA-06550: line 1, column 34: PLS-00201: identifier 'SHRIMP' must be declared ORA-06550: line 1, column 7: PL/SQL: statement ignored

    ERR-1025 expression PLSQL treatment error. SHRIMP = "SHRIMP".




    My report query is:

    Select T.TRIP_ID,
    T.TRIP_ID trip_show,
    T.TRIP_ID trip_select,
    T.DAYS_AT_SEA,
    T.NBR_OF_CREW,
    T.TRIP_START_DATE,
    T.VESSEL_ID,
    o.ticket_type ticket_type
    TRAVEL t, o one_ticket_type
    where t.dea_permit_id =: G_DEA_PERMIT_ID and t.trip_id = o.trip_id

    I created a new template called a ticket-enhancement.

    line 1 = tempate < td #ALIGNMENT headers # = "" #COLUMN_HEADER # "class ="t14data"style =" background: red "> #COLUMN_VALUE # < table >"
    model condition rank 1 = use based on the expression of pl/sql
    template expression rank 1 = #TICKET_TYPE # = "SHRIMP" (* I also tried without the quote)


    any thoughts? Thank you!!

    Edited by: KEH813 may 25, 2010 11:10

    I'm not sure of the JavaScript. Whenever you sort the report, coloring disappears and you can send the page again.

    PS Don't forget to mark the answers as Correct or useful.

    Best regards
    Mathieu Gosselin

  • Another user has modified the line containing oracle.jbo.Key primary key

    Hello

    In jdev 12 c

    I have a jsf page in a BTF, and there is a display of master(A:readonly table)-detail(B1:readonly table)-detail(B2:editable form) this page

    The (readonly table) B1 and B2 (editable form) are created on the same data control. There is no other layout compicated or functions on this page.

    The B2 (editable form) was based on a VO whose id is a type of DBSequence, and the new value has been created by a database trigger.

    I put

    All the columns that are updated by a database trigger or a PL/SQL call, are enabled for "Refersh on Insert" (for the case of the insertion) or "Refresh update" (for the case of update) or both in the entity object xml file.

    But when I submit/validate the page (form B2), the error msg 'another user has changed the line containing oracle.jbo.Key primary key' was always held randonly.

    And after the error msg, I can commit the data successfully by press the button validate again.

    How can I solve this problem?

    Thank you.

    The problem is that you use the pl/sql code. It is run out of the box. When a change is made in a row in this way, the framework removes upward, neither knowing that the change was done rightly and throws an error message.

    The code (which I copied from the other thread for reference) intercepts the error and re executs the lock in the case of the specific error.

    /*** customizing locking management:

    * Because attribute values can change 'outside' ADF standard life cycle,

    * when optimistic locking executes, the exception "Another User Changed the Row" is thrown.

    * In this case, we execute locking again, ignoring the exception

    */

    public void lock()

    {

    try

    {

      super.lock();

    } catch (oracle.jbo.RowInconsistentException e)

    {

      if (e.getErrorCode().equals("25014"))

      {

      super.lock();

      }

      else throw e;

    }

    }


    Timo

  • Highlight the line on slot form of table

    I would like to be able to highlight a row of data on a form in a table based on a column of some data. I found many here messages that reference standard reports, but is there a way to highlight an entire line of data based on some criteria of tabular form?

    Thank you!

    A proposal, you have removed the standard formatting for other lines by crushing. On the top of my head, you should leave the standard formatting in first position and add a second condition for your highlighted line.

    Gus...
    Please mark this and any other position as useful or correct
    ;-)

  • Highlighting the lines of State based on the results of the report

    Hello! I think it's an easy question, but I have not found an answer for her through the forums looking. Is there a way to highlight or change the colors of some dependent lines on the result set data? I'm trying to display transaction data of the customer for call center agents and highlight some rows based on the values in the results...

    Thank you very much!

    You can view a customized report (column model) model - they give you 4 places for the conditions. Here is an example:

    Column Template 1: #COLUMN_VALUE#
    Column Template 1 Expression: '#1#' like '%Total%'
    

    #1 # being the first column in your results. This isn't bad if you only need 4 conditions and know the placement of your fields - you just configured different look and feels in your CSS and change the class according to the criteria.

    Here's another way:
    http://Apex.Oracle.com/pls/OTN/f?p=11933:7

    Hope that helps...

  • What is this error represents "another user has changed the line containing oracle.jbo.Key [21 primary key]."

    Mr President.

    What is this error represents "another user has changed the line containing oracle.jbo.Key [21 primary key]."

    Concerning

    You get this exception quite often when you have a business in PL SQL layer, but you can safely ignore (suppress) it by substituting the lock() method in all implementation of your entity classes.

    /*** customizing locking management: 
    * Because attribute values can change 'outside' ADF standard life cycle, 
    * when optimistic locking executes, the exception "Another User Changed the Row" is thrown. 
    * In this case, we execute locking again, ignoring the exception 
    */ 
    public void lock() 
    { 
     try 
     { 
      super.lock(); 
     } catch (oracle.jbo.RowInconsistentException e) 
     { 
      if (e.getErrorCode().equals("25014")) 
      { 
      super.lock(); 
      } 
      else throw e; 
     } 
    }
    
  • I have a HTML5 form that sends a null (%) if the user does not have a choice. It works fine, but I get an error of W3c on the value of '% '. Is there another way to send a NULL value?

    I have an HTML5 form that allows the user to select 1 of 6 provinces of Costa Rica. If they do not select a Province, I use php code to send a NULL value and the other selections research of the form looking for all Provinces. If they choose a province, we are looking for database records that are found in this province.  Currently I use the value = '%' as the selected value if the user does not have a choice. It works and looks in all provinces, but I get an error of W3c checking on the value = '% '. Y at - it another way to send a NULL value. PS: I have the same problem on the following form which allows you to select the Business category. The page is http://www.yellowpagescr.com

    Here is a copy of the code. The RED line works but gets a W3c issue error of the test page. :

    < form = class "navbar-form Center navigation bar" role = "Search" action = "#searchresults" method = "get" name = "selectterms" id = "selectterms" title = "" >

    < select name = "province" autofocus class = 'copyright' title = "Click to select a Province (optional)" >

    < option value = '%' selected = "selected" > all Provinces < / option >

    < option value = "alajuela" > Alajuela < / option >

    < option value = "cartago" > Cartago < / option >

    < option value = "Guanacaste" selected > Guanacaste < / option >

    < option value = "heredia" > Heredia < / option >

    < option value = "Limon" > Limon < / option >

    < option value = "Puntarenas" > Puntarenas < / option >

    < option value = "San Jose" > San Jose < / option >

    < option value = "Other" > other < / option >

    < / select >

    The correct way.

    Nancy O.

  • CS3 download Broken Link - Is there another way?

    Hello

    I lost my CD of my old Standard Design CS3 (Mac), so I found this page where you can download CS3:

    Download the CS3 products

    When I clicked on the download, I needed, the page redirected, then displays only this:

    HTTP ERROR: 404 /support/downloads/dlm/main.jsp

    RequestURI=/support/downloads/dlm/main.jsp

    I don't know if this is an error with my browser or the Adobe's Site.  It is the same regardless of whether I am connected to my AdobeID.

    Is there another way to access the installation files?

    Thank you!

    Works fine for me (English version)

  • highlighting of lines in the classic report

    I have a classic report with a disabled checkbox that I check a program.

    Using the 25 Standard - apex 4.2.1 report theme

    Only alternate lines are changed by the JavaScript below. Don't know what I have to do

    for all verified ranks has highlighted.

    I created an example on the website of oracle apex.

    user name: [email protected]

    password: whiskers

    http://Apex.Oracle.com/pls/Apex/f?p=36690:2:112760870106921:

    LOCATE THE REPORT * CODE

    Select ename, empno, mgr, hiredate, sal, comm, deptno, job,

    apex_item. CheckBox2 (p_idx = > 29, p_value = > empno,)

    p_attributes = > DECODE (deptno, 10, "checked")

    30, 'checked', NULL)

    || "disabled = disabled") action.

    apex_item. RadioGroup (p_idx = > 30, p_value = > empno,)

    p_attributes = > rb DECODE(deptno,10,'disabled=disabled',))

    WCP

    ******************************CODE ****************************

    I'm trying to highlight the lines when the boxes are ticked and used the code depending on what can be found here:

    onLoad = "javascript:changeTableColor();" »

    ******************************CODE ****************************

    < script type = "text/javascript" >

    var szColorTo = "#F5D0A9";

    var szColorOriginal = "#CCCCCC";

    function changeRowColour (pTarget)

    {

    pTR var = pTarget.parentNode.parentNode;

    If (pTR.nodeName.toLowerCase ()! = 'b')

    {

    return;

    }

    if(pTarget.Checked == true) {}

    pTR.style.backgroundColor = szColorTo;

    } else {}

    pTR.style.backgroundColor = szColorOriginal;

    }

    }

    function changeTableColor() {}

    var columnArray = document.getElementsByName ("f29");

    for (i = 0; i < columnArray.length; i ++)

    {

    changeRowColour ([i] columnArray);

    }

    }

    < /script >

    Hello

    Here is an example of use of jQyery

    $("input[name=f29]").each(function(){
    var lThis=$(this);
    if(lThis.is(":checked")){
      lThis.parents("tr:eq(0)").children("td").css({"background-color":"#F5D0A9"});
    } else {
      lThis.parents("tr:eq(0)").children("td").css({"background-color":""});
    }
    });
    

    Create a dynamic action that fires after the region refresh JavaScript execution. Place above in the code.

    Kind regards

    Jari

  • Another way to write the query:

    Dear Experts, I am a beginner in sql. With my knowledge, I wrote this query
    but he took great moment in my database 11g
    Please tell any alternative to write this query in another way to increase performance

    Please find the explanation below
    SELECT DISTINCT *
               FROM UPGRADATION r1,
                    LOG t2,
                    OMNIACCOUNT m1,
                    (SELECT rid
                       ,  LISTAGG(ACCOUNTNO, ',') WITHIN GROUP (ORDER BY ACCOUNTNO) AS ACCOUNTNO
                               FROM   OMNIACCOUNT
                                 GROUP  BY rid) mk3,
                    (SELECT mobileno
                          ,  LISTAGG(ACCOUNTNO, ',') WITHIN GROUP (ORDER BY ACCOUNTNO) AS ACCOUNTNO
                                    FROM   OMNIACCOUNT
                                           GROUP  BY mobileno) mk1,
                    (SELECT mobileno
                          ,  LISTAGG(ACCOUNTNO, ',') WITHIN GROUP (ORDER BY accounttype) AS ACCOUNTTYPE
                                    FROM   OMNIACCOUNT
                                           GROUP  BY mobileno) mk2
              WHERE t2.txnauthid = r1.txnauthid
                AND r1.rid = mk3.rid
                AND t2.txntype = '54'
                AND mk1.mobileno = r1.regmobileno
                AND t2.reqtype = '11'
                AND t2.dc_id IN (SELECT deliverychannel_id
                                   FROM Channel)
                AND t2.custbankcode = '32472'
                AND t2.txndatetime BETWEEN TO_DATE ('28/12/2011 12:00:00 AM',
                                                    'DD/MM/YYYY hh:mi:ss AM'
                                                   )
                                       AND TO_DATE ('28/12/2012 11:59:59 PM',
                                                    'DD/MM/YYYY hh:mi:ss PM'
                                                   )
                AND r1.rid = m1.rid(+)
                AND t2.txnstatus IN ('C', 'F', 'T')
                AND t2.paymentinitiator = 'C'
                AND mk1.mobileno = mk2.mobileno
    
    
    
    
    Explain Plan For the above statement :
    -----------------------------------
    
    
    
    SELECT STATEMENT  FIRST_ROWSCost: 16  Bytes: 4,270  Cardinality: 1                                      
        25 HASH UNIQUE  Cost: 16  Bytes: 4,270  Cardinality: 1                                  
            24 NESTED LOOPS  Cost: 15  Bytes: 4,270  Cardinality: 1                              
                19 NESTED LOOPS  Cost: 14  Bytes: 4,270  Cardinality: 1                          
                    13 HASH JOIN  Cost: 13  Bytes: 2,268  Cardinality: 1                      
                        9 NESTED LOOPS OUTER  Cost: 4  Bytes: 252  Cardinality: 1                  
                            7 NESTED LOOPS  Cost: 3  Bytes: 239  Cardinality: 1              
                                4 NESTED LOOPS  Cost: 2  Bytes: 119  Cardinality: 1          
                                    2 TABLE ACCESS BY INDEX ROWID TABLE LOG Cost: 1  Bytes: 116  Cardinality: 1      
                                        1 INDEX RANGE SCAN INDEX IX_LOG Cost: 1  Cardinality: 8  
                                    3 INDEX UNIQUE SCAN INDEX (UNIQUE) PK_Channel Cost: 1  Bytes: 3  Cardinality: 1      
                                6 TABLE ACCESS BY INDEX ROWID TABLE UPGRADATION Cost: 1  Bytes: 120  Cardinality: 1          
                                    5 INDEX RANGE SCAN INDEX IDX_REG_AUTH Cost: 1  Cardinality: 1      
                            8 INDEX RANGE SCAN INDEX IDX_MLTN_BNK_ACCT Cost: 1  Bytes: 13  Cardinality: 1              
                        12 VIEW  Cost: 8  Bytes: 1,110,816  Cardinality: 551                  
                            11 SORT GROUP BY  Cost: 8  Bytes: 16,530  Cardinality: 551              
                                10 TABLE ACCESS FULL TABLE OMNIACCOUNT Cost: 7  Bytes: 21,210  Cardinality: 707          
                    18 VIEW PUSHED PREDICATE  Cost: 1  Bytes: 2,002  Cardinality: 1                      
                        17 FILTER                  
                            16 SORT GROUP BY  Bytes: 33  Cardinality: 1              
                                15 TABLE ACCESS BY INDEX ROWID TABLE OMNIACCOUNT Cost: 1  Bytes: 33  Cardinality: 1          
                                    14 INDEX RANGE SCAN INDEX IDX_MUL_LNKG Cost: 1  Cardinality: 1      
                23 VIEW PUSHED PREDICATE  Cost: 1  Cardinality: 1                          
                    22 FILTER                      
                        21 SORT GROUP BY  Bytes: 29  Cardinality: 1                  
                            20 INDEX RANGE SCAN INDEX IDX_MLTN_BNK_ACCT Cost: 1  Bytes: 29  Cardinality: 1              

    It would be best to leave the desired projection.
    Probably you don't really want all columns form this query.
    However, these are your join criteria:

    t2.txnauthid = r1.txnauthid
                AND r1.rid = mk3.rid
                AND r1.regmobileno = mk1.mobileno
                AND mk1.mobileno = mk2.mobileno
                AND r1.rid = m1.rid(+)
    

    Maybe you can get rid of AND mk1.mobileno = mk2.mobileno
    with

    (SELECT mobileno
                          ,  LISTAGG(ACCOUNTNO, ',') WITHIN GROUP (ORDER BY ACCOUNTNO) AS ACCOUNTNO
                          ,  LISTAGG(ACCOUNTNO, ',') WITHIN GROUP (ORDER BY accounttype) AS ACCOUNTTYPE
                                    FROM   OMNIACCOUNT
                                           GROUP  BY mobileno)
    

    After the combination seems to be suspicious:

    AND r1.rid = mk3.rid
    AND r1.rid = m1.rid(+)
    

    The first limit the result on all lines with the same id in
    OMNIACCOUNT and UPGRADATION
    so, o see no gain from the outer join.

    Do you really need the listagg on all OMNIACCOUNT lines.
    If this isn't the case, it would be probably better to do the listagg in the final projection.

    Maybe one way could be to start with OMNIACCOUNT and join outer UPGRADATION to it.
    You can do the listagg at the end.

    Maybe something like

    select
    *
    from
    OMNIACCOUNT m1
    left outer join
    (Select
     projection goes here
    from
    log t2 join UPGRADATION r1
    on
    r1.txnauthid = t2.txnauthid
        AND t2.reqtype = '11'
        AND t2.dc_id IN (SELECT deliverychannel_id
                           FROM Channel)
        AND t2.custbankcode = '32472'
        AND t2.txndatetime BETWEEN TO_DATE ('28/12/2011 12:00:00 AM',
                                            'DD/MM/YYYY hh:mi:ss AM'
                                           )
                               AND TO_DATE ('28/12/2012 11:59:59 PM',
                                            'DD/MM/YYYY hh:mi:ss PM'
                                           )
        AND t2.txntype = '54'
        AND t2.txnstatus IN ('C', 'F', 'T')
        AND t2.paymentinitiator = 'C'
    ) r1
    on
    m1.rid=r1.rid
    AND
    r1.regmobileno = m1.mobileno
    

    Published by: chris227 on 10.01.2013 01:45
    fix

  • Highlight conditional in standard report based on a column - endangered

    Hi all

    I've implemented a conditional formatting on a standard report based on the thread below

    Highlighting a row in a tabular form, based on a column in the row

    Everything works fine, except when you hover over the report highlighting disappears. It reappears if you refresh the page, or scroll to the next page in the report.

    I use in my style in the model tag
    style = "background: red".

    Is this something to do with the model? I use the theme generator 2.

    Any ideas?
    Andrew

    Hi André,.
    It is in from the report model - before every line:
    Just remove the # if #HIGHLIGHT_ROW you don't need.

    Regards Garry

Maybe you are looking for