SQL: Values in 2 equal columns can highlight text

Hello
I have a report or a statement of pl/sql for a table in which I got a select statement for a table. and i two values in 2 different columns and rows are equal I want to highlite them but I don't know ho to do. I need the solution for both, a simple report and a pl/sql statement

what I have is like that

Col1 - Col2 - Col3 - Col4 - Col5
Col1Val1 Col2Val1 Col3Val1 Col4Val1 Col5Val1
Col1Val2 Col2Val2 Col3Val2 Col4Val2 V a l u e
Col1Val3 Col2Val3 Col3Val3 Col4Val3 Col5Val3
Col1Val4 Col2Val4 Col3Val4 V a u l e Col5Val4
Col1Val5 Col2Val5 Col3Val5 Col4Val5 Col5Val5
Col1Val6 Col2Val6 Col3Val6 Col4Val6 Col5Val6
Col1Val7 Col2Val7 Col3Val7 Col4Val7 Col5Val7

and what I want is
Col1 - Col2 - Col3 - Col4 - Col5
Col1Val1 Col2Val1 Col3Val1 Col4Val1 Col5Val1
Col1Val2 Col2Val2 Col3Val2 Col4Val2 V a l u e
Col1Val3 Col2Val3 Col3Val3 Col4Val3 Col5Val3
Col1Val4 Col2Val4 Col3Val4 V a l u e Col5Val4
Col1Val5 Col2Val5 Col3Val5 Col4Val5 Col5Val5
Col1Val6 Col2Val6 Col3Val6 Col4Val6 Col5Val6
Col1Val7 Col2Val7 Col3Val7 Col4Val7 Col5Val7

thx for your help

concerning
Falk

Published by: Falk on 24.11.2008 06:51

Hi Falk,

Add something like the following in the HTML of your page header:

<script type="text/javascript">
function showmatches(f1, f2)
{
 var h1 = document.getElementById(f1);
 var h2 = document.getElementById(f2);
 var t = h1.parentNode;
 while (t.tagName != 'TABLE')
 {
  t = t.parentNode;
 }
 var rows = t.rows;
 var k;
 var j;
 var headers = t.getElementsByTagName("TH");
 var c1;
 var c2;
 var i1;
 var i2;
 for (k = 0; k < headers.length; k++)
 {
  if (headers[k].id == f1)
  {
    c1 = k;
  }
  if (headers[k].id == f2)
  {
    c2 = k;
  }
 }
 for (k = 1; k < rows.length; k++)
 {
  i1 = rows[k].getElementsByTagName("TD")[c1].innerHTML;
  for (j = 1; j < rows.length; j++)
  {
    i2 = rows[j].getElementsByTagName("TD")[c2].innerHTML;
    if (i1 == i2)
    {
      rows[k].cells[c1].style.backgroundColor = 'red';
      rows[j].cells[c2].style.backgroundColor = 'red';
    }
  }
 }
}
</script>

Then add the following text in the footer of the report in your area:

<script type="text/javascript">
showmatches('VALUE3','VALUE4');
</script>

VALUE3 and VALUE4 replacing the names of the columns for the two columns you want to compare.

Finally, you may need to create a new report based on your existing model. In most of those I've been watching, the row front each parameter looks like:

<tr #HIGHLIGHT_ROW#>

You need a model that excludes the #HIGHLIGHT_ROW # this will start by highlighting the lines with your highlight color and you lose the functionality of javascript.

I made a sample page (with a tabular editing page, so you can test changing figures): http://htmldb.oracle.com/pls/otn/f?p=55041:20

Andy

Tags: Database

Similar Questions

  • No longer can highlight text during the electronic composition

    I can no longer highlight text when I compose an e-mail. I can highlight text in other programs (Word, etc.). When I say I'm being very specific - I can't, left-click the mouse and drag over the text to select.

    I have not downloaded programs. I did not any changes at all to the computer.

    Any ideas?

    Try a system restore to a Date before the problem began:

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to extract values of classic report column in the text element

    Hi all

    I've created a classic report (select id, name,' < input type = "button" value = "add" id = "add" name = "add" > "as" add details "details ;) with a single column as column values want link.i in the text element when I click on the link of that particular record of the report)

    (1) in the link this link column property I've specified the URL as [javascript:insert_in_table(#ID#,#NAME#)]

    (2) text two article P_ID, P_NAME

    (3) in the header of the page, I've specified as javascript

    < script type = "text/javascript" >

    function insert_in_table (id, name) {}

    var regId = ' #detail #'.substr (1);

    var req = new htmldb_Get (not null, $v ('pFlowId'), 'APPLICATION_PROCESS = add', $v('pFlowStepId'));

    Req.Add ('P_ID', ID);

    Req.Add ('P_NAME', Name);

    forced. GetAsync (function () {}

    If {(p.readyState is 4)

    $a_report (regId);

    }

    });

    }

    < /script >

    (4) created a (add) process whose point: on demand, run this process when requested by ajax

    pl/sql: insert into name_detail (id, name) values (: P_ID,: P_NAME)

    now the problem is I m not getting the values of column in the report in the text element, it only shows white.

    Kind regards

    Ketan

    Hello Ketan,

    Assuming that you want to insert the values into the table, this is why you want to set values for the element,

    If this is the case, then no need to define values for the element to insert.

    Follow the steps below, it is one of the embodiment of your condition.

    Step 1: Put the code below in your classic report query

    assuming that the id is of type number and the name is of type varchar, that's why I am attaching the name to apostrophe, see line 3

    select id
         , name
         , ''  as "Add to detail"
    from detail
    

    Edit 'Add details' column-> column attributes-> view-> column of Standard report

    Step 2: Create a process in the processing of the Page

    Name: INSERT_DATA

    Address the point: on demand, run this process when requested by ajax

    Process: putting the code below

    Declare
      P_ID number ;
      P_NAME varchar2(50);
      Begin
          P_ID   := apex_application.g_x01;
          P_NAME := apex_application.g_x02;
          insert into name_detail(id,name) values (P_ID,P_NAME);
    End;
    

    Step 3: Create a java script function to call your insert ajax process.

    Change the Page-> the function and the global variable declaration-> put the code below

    function insert_in_table(id,name) {
      apex.server.process ( "INSERT_DATA", {
          x01: id,x02: name
      }, { success: function( pData ) { }
      });
    }
    

    Hope this helps you,

    Kind regards

    Jitendra

  • How to create a default value for the timestamp column?

    I am trying to create a table with a default value to a timestamp column, can it be done?


    CREATE TABLE matbl
    (
    Default TIMESTAMP WITH time ZONE SCHEDULE date FutureDateTime ' 23:23:59.000 2999-12-31'
    )

    incorrect data type. try rather timestamp with time zone.

    CREATE TABLE myTbl
    (
    FutureDateTime TIMESTAMP WITH TIME ZONE  default to_timestamp ('2999-12-31 23:23:59.000','yyyy-mm-dd hh24:mi:ss.ff')
    )
    
  • Highlight text on the added photos?

    I wonder if I can highlight text on a jpeg image that I put first Pro and I have the text highlighted for a certain period of time.

    If the text is in jpeg format, a simple way to do this is not to highlight the text but make the darker environment.

    Copy the jpeg and overlay them,

    JPEG in v1 make darker,

    JPEG in v2 add an opacity mask,

    Fact

  • Cannot highlight text in Android, doc works fine in PC Win7

    I use Adobe Acrobat DC v15.0.2 Build: 116303 on Android version 5.0 on a Galaxy S5 Sport.

    I have problems with highlighting of text in a particular document, a study guide security + cert. On other documents, I've tried works fine on the phone of highlighting text. It's just that a document that has problems, it is a 942 pages, 39.7 MB file. And here is a picture with its security settings. Note that I can highlight text on this document on the PC just fine. PC is Win7 64 with Adobe Reader 11.0.10. I tried to put it on the phone memory card and internal memory, same result, when I select some text, the menu displays only the option copy. This is in mode "Spectator", if I try to select the "Comment" mode, I get the error "Restricted Document" saying that I can't do that "because of the security settings of the document". , But the security settings allow comments and highlight, as it works fine on the PC

    Please help. I'm leaving this request for assistance after having done a fair amount of googling and find no answers.

    StudyGuideSecurity.jpg

    Hi Carlos,

    It's a PDF, encrypted, and we currently do not support any changes in a PDF is encrypted on mobile devices. We have taken it as a feature request and will try to add this feature in one of our next versions. Sorry for the inconvenience.

    Thank you

    Adobe Acrobat team

  • How do I highlight text in adobe reader PDF files?

    Hi, I'm solaine Veera in the United States.

    To highlight, I mean change the color of the selected text, as the function in word. Or what I need to paste the article into word to highlight? How is it possible.

    Thank you

    Solaine Veera

    Highlight and change the color of the text is not the same thing!

    Adobe Reader can highlight text using the highlight tool.  This cannot be a real text, not 'text' on a scanned image.

    To change the color of text you need Acrobat.

  • Highlighted text available fixed epub from InDesign CC

    I create a fixed layout with InDesign CC epub book. I made my first page and open in ibooks and found that it won't let me highlight the text. I can highlight text in a fluid layout, but not in this new fixed layout.  Any advice on how to get my text of provision fixed to be highlightable? Being able to highlight is a large part of my project.  Thanks in advance for your help.

    Sorry guys... Here I had seen this before. I could have told you that highlight and note-taking capabilities are disabled intentionally fixed layout EPUB and Kindle KF8 books.

    The only time where you will see a FXL book that does support highlighted is if is B & N or Amazon "Perfect Page" or "replica" - format which is basically just a PDF packed of all kinds that can be read via Kindle and Nook apps (other College book apps like kno.com and the old support Page Replica CourseSmart Too much. CourseSmart has recently merged with VitalSource, however, so I don't know what they are doing these days WRT replicas of page). iBooks does not support any kind of reply to print the page. It's the EPUB 3 FXL or author only for Apple iBooks.

  • No active highlight text tool

    Hello

    I downloaded some documents in PDF/A of open XML specification (PDF version 1.4, created using MS office 2007 word) of the w3c Web site. I wanted to use the text highlighter tool to highlight the important parts so that I can quickly refer to it later but found that the tool is off. I even tried to convert the PDF to a new version (1.6, 1.7) and in PDF / X etc. but nothing helps.

    When I see the security method, it says "No Security" and all (printing, editing, comment) are "authorized".

    I don't know how to activate the tool. Another edition associated tools are also disabled (Text edit, add sticky notes, etc.).

    Is this protected document, if yes then why he said "No Security", and is there a way to unprotect so that I can highlight text inside.

    Concerning

    Rahul

    PDF/A mode is active?

  • update of NULL in the column with the values of the adjacent column

    Examples of data

    with test_data as
    (select 1 as one, null as two, 2 as three,5 as four, 6 as five, null as six from dual
    union all
    select 1 as one, null as two, 2 as three,5 as four, 6 as five, null as six from dual)
    select * from test_data;
    

    This is one of those cases, the case may be where any value of a column can be null

    or two similar columns can be null. If the column is null then I want to update the adjacent column

    average value of the column, if the first column is null so I want to take the next non-null column and update, if the last column is null

    so I want to take prev not zero column and to update.

    In this case would be my expected output

    Un Two Three Four Five Six
    11.52566
    123566

    Prospects for the future the suggesion or advice.

    Or, using Analytics:

    SQL> with test_data (id, one, two, three, four, five, six) as (
      2    select 1, 1   , null, 2   , 5, 6, null  from dual union all
      3    select 2, 1   , null, 3   , 5, 6, null  from dual union all
      4    select 3, 1   , null, null, 5, 6, null  from dual union all
      5    select 4, null, null, null, 5, 6, null  from dual
      6  )
      7  select *
      8  from (
      9    select id
     10         , cell
     11         , case when next_nn is not null and prev_nn is not null
     12             then (next_nn + prev_nn)/2
     13             else nvl(next_nn, prev_nn)
     14           end val
     15    from (
     16      select id
     17           , cell
     18           , val
     19           , last_value(val) ignore nulls over(partition by id order by cell) as prev_nn
     20           , first_value(val) ignore nulls over(partition by id order by cell range between current row and unbounded following) as next_nn
     21      from test_data
     22      unpivot include nulls (val for cell in (one as 1, two as 2, three as 3, four as 4, five as 5, six as 6) )
     23    )
     24  )
     25  pivot ( min(val) for cell in (1 as "ONE", 2 as "TWO", 3 as "THREE", 4 as "FOUR", 5 as "FIVE", 6 as "SIX") )
     26  ;
    
            ID        ONE        TWO      THREE       FOUR       FIVE        SIX
    ---------- ---------- ---------- ---------- ---------- ---------- ----------
             1          1        1,5          2          5          6          6
             2          1          2          3          5          6          6
             3          1          3          3          5          6          6
             4          5          5          5          5          6          6
    
  • ORA-02374: error loading conversion table / ORA-12899: value too large for column

    Hi all.

    Yesterday I got a dump of a database that I don't have access and Production is not under my administration. This release was delivered to me because it was necessary to update a database of development with some new records of the Production tables.

    The Production database has NLS_CHARACTERSET = WE8ISO8859P1 and development database a NLS_CHARACTERSET = AL32UTF8 and it must be in that CHARACTER set because of the Application requirements.

    During the import of this discharge, two tables you have a problem with ORA-02374 and ORA-12899. The results were that six records failed because of this conversion problem. I list the errors below in this thread.

    Read the note ID 1922020.1 (import and insert with ORA-12899 questions: value too large for column) I could see that Oracle gives an alternative and a workaround that is to create a file .sql with content metadata and then modifying the columns that you have the problem with the TANK, instead of BYTE value. So, as a result of the document, I done the workaround and generated a discharge .sql file. Read the contents of the file after completing the import that I saw that the columns were already in the CHAR value.

    Does anyone have an alternative workaround for these cases? Because I can't change the CHARACTER set of the database the database of development and Production, and is not a good idea to keep these missing documents.

    Errors received import the dump: (the two columns listed below are VARCHAR2 (4000))

    ORA-02374: error loading «PPM» conversion table "" KNTA_SAVED_SEARCH_FILTERS ".

    ORA-12899: value too large for column FILTER_HIDDEN_VALUE (real: 3929, maximum: 4000)

    "ORA-02372: row data: FILTER_HIDDEN_VALUE: 5.93.44667. (NET. (UNO) - NET BI. UNO - Ambiente tests '

    . . imported "PPM". "' KNTA_SAVED_SEARCH_FILTERS ' 5,492 MB 42221 42225-offline

    ORA-02374: error loading «PPM» conversion table "" KDSH_DATA_SOURCES_NLS ".

    ORA-12899: value too large for column BASE_FROM_CLAUSE (real: 3988, maximum: 4000)

    ORA-02372: row data: BASE_FROM_CLAUSE: 0 X '46524F4D20706D5F70726F6A6563747320700A494E4E455220 '.

    . . imported "PPM". "' KDSH_DATA_SOURCES_NLS ' lines 229 of the 230 308.4 KB

    Thank you very much

    Bruno Palma

    Even with the semantics of TANK, the bytes for a column VARCHAR2 max length is 4000 (pre 12 c)

    OLA Yehia makes reference to the support doc that explains your options - but essentially, in this case with a VARCHAR2 (4000), you need either to lose data or change your data type of VARCHAR2 (4000) to CLOB.

    Suggest you read the note.

  • Write a SQL query with lines in columns

    All the

    I need help in writing a SQL query with lines in columns, let give u an example...

    drop table activity;

    CREATE TABLE 'ACTIVITY '.

    (

    "PROJECT_WID" NUMBER (22.0) NOT NULL,

    VARCHAR2 (150 CHAR) "PROJECT_NO."

    VARCHAR2 (800 CHAR) 'NAME '.

    );

    Insert in the ACTIVITY (PROJECT_WID, PROJECT_NO, NAME) values (1683691, '10007', 12-121');

    Insert in the ACTIVITY (PROJECT_WID, PROJECT_NO, NAME) values (1684994, '10008', 12-122');

    Insert in the ACTIVITY (PROJECT_WID, PROJECT_NO, NAME) values (1686296, '10009', 12-123');

    Insert in the ACTIVITY (PROJECT_WID, PROJECT_NO, NAME) values (2225222, '9040', 12-124');

    drop table lonet;

    CREATE TABLE 'LONET.

    (

    VARCHAR2 (150 CHAR) "NAME."

    NUMBER OF THE "ROOT."

    VARCHAR2 (150 CHAR) "ENTRYVALUE".

    );

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ("GAC", 1683691, "LDE");

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ('NAM', 1683691, 'LME');

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ('BAG', 1683691, 'ICE');

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ('PAP', 1683691, 'IKE');

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ('NAM', 1686291, "QTY");

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ('PAP', 1686291, 'MAX');

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ("GAC", 1684994, "MTE");

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ('PAP', 1684994, 'MAC');

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ('FMT', 1684994, 'NICE');

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ('FMR', 1684994, 'RAY');

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ('BAG', 1686296, "CAQ");

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ("PAP", 1686296, "QAQ");

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ("VANESSA", 1686296, "THEW");

    INSERT INTO LONET (NAME, ROOT, ENTRYVALUE) VALUES ("ANDR", 1686296, "REYL");

    commit;

    Link: activity.project_wid = lonet.root

    look like output

    Project_wid Project_no NAME GAC NAM BAG RAC
    16836911000712-121LDELMELCELKE
    16849941000812-122MTEnullnullMAC
    16862961000912-123nullnullCAQQAQ
    2225222904012-124nullnullnullnull

    two problems, in that I am running

    1. I dono how simply we can convert rows to columns

    2. for root = 1683691, there are double NAM and RAC in lonet table... ideally these data should not be there, but since its here, we can take a MAX so that it returns a value

    3. There are undesirables who should be ignored

    Once again my thought process is that we join the activity and 4 alias table lonet.

    ask for your help in this

    Thank you

    Hello

    This is called pivoting.

    Here's a way to do it:

    WITH relevant_data AS

    (

    SELECT a.project_wid, a.project_no, b.SID

    , l.name AS lonet_name, l.entryvalue

    Activity one

    LEFT OUTER JOIN lonet l.root = a.project_wid l

    )

    SELECT *.

    OF relevant_data

    PIVOT (MAX (entryvalue)

    FOR lonet_name IN ("GAC" IN the gac

    "NAM" AS nam

    'BAG' IN the bag

    "RAC" AS cars

    )

    )

    ORDER BY project_wid

    ;

    Output:

    PROJECT_WID PROJECT_NO GAC NAM BAG RAC NAME

    ----------- ---------- ---------- ---------- ---------- ---------- ----------

    1683691 12 - 10007 121 LDE LME LCE LKE

    1684994 MAC MTE 10008 12-122

    1686296 12 - 10009 123 QAC QAQ

    2225222 9040 12 - 124

    To learn more about swivel, see the FAQ in the Forum: Re: 4. How can I convert rows to columns?

    Thanks for posting the CREATE TABLE and INSERT statements; It's very useful!

  • How to check if a value exists in a column

    Hello Experts,

    version: 10.1.0.5

    I am a novice in pl/sql programming. I am trying to create a procedure that checks if a value exists in a column and if it is not it inserts. Here's the procedure and errors,

    SQL > CREATE OR REPLACE PACKAGE BODY manr.audit_pkg

    2 PROCEDURE audit_proc (number of p_sessionid, p_username VARCHAR2, date of the p_date) IS

    3 BEGIN

    4 If p_sessionid not in (select manr.audit_history sessionid)

    5. can

    6 INSERT INTO manr.audit_history VALUES (p_sessionid, p_username, p_date);

    7 validation;

    8 end if;

    9 END;

    10 END audit_pkg;

    11.

    WARNING: The body of a Package created with compilation errors.

    SQL > show error

    PACKAGE BODY HÉLÈNE errors. AUDIT_PKG:

    LINE/COL ERROR

    -------- -----------------------------------------------------------------

    4/1 PL/SQL: statement ignored

    4/22 PLS-00405: subquery not allowed in this context

    Could you please tell me where I'm wrong. Thanks for your help.

    Rocky

    Hello

    If p_sessionid not in (select manr.audit_history sessionid)

    Try:

    .....

    Select count (*) in the v_sessionid of manr.audit_history

    where sessionid = p_sessionid;

    If v_sessionid > 0 then

    .....

    on the other

    ....

    end if;

    Ziut

  • Addition of virtual column: ORA-12899: value too large for column

    I am using Oracle 11g, OS Win7, SQL Developer

    I'm trying to add the virtual column to my test table, but get ORA-12899: value too large for column error. Here are the details.
    Can someone help me in this?
    CREATE TABLE test_reg_exp
    (col1 VARCHAR2(100));
    
    INSERT INTO test_reg_exp (col1) VALUES ('ABCD_EFGH');
    INSERT INTO test_reg_exp (col1) VALUES ('ABCDE_ABC');
    INSERT INTO test_reg_exp (col1) VALUES ('WXYZ_ABCD');
    INSERT INTO test_reg_exp (col1) VALUES ('ABCDE_PQRS');
    INSERT INTO test_reg_exp (col1) VALUES ('ABCD_WXYZ');
    ALTER TABLE test_reg_exp
    ADD (col2 VARCHAR2(100) GENERATED ALWAYS AS (REGEXP_REPLACE (col1, '^ABCD[A-Z]*_')));
    
    SQL Error: ORA-12899: value too large for column "COL2" (actual: 100, maximum: 400)
    12899. 00000 -  "value too large for column %s (actual: %s, maximum: %s)"
    *Cause:    An attempt was made to insert or update a column with a value
               which is too wide for the width of the destination column.
               The name of the column is given, along with the actual width
               of the value, and the maximum allowed width of the column.
               Note that widths are reported in characters if character length
               semantics are in effect for the column, otherwise widths are
               reported in bytes.
    *Action:   Examine the SQL statement for correctness.  Check source
               and destination column data types.
               Either make the destination column wider, or use a subset
               of the source column (i.e. use substring).
    When I try to, I get the correct results:
    SELECT col1, (REGEXP_REPLACE (col1, '^ABCD[A-Z]*_'))
    FROM test_reg_exp;
    Thank you.

    Yes, RP, it works if you give col2 size > = 400.

    @Northwest - could you please test the same w/o having a clause of regex in col2?
    I have a doubt about using a REGULAR expression in this case Dynamics col.

    Refer to this (might help) - http://www.oracle-base.com/articles/11g/virtual-columns-11gr1.php
    Below excerpt from above link... see if that helps...
    >
    Notes and restrictions on the virtual columns include:

    The indexes defined on the virtual columns are equivalent to a function-based index.
    Virtual columns can be referenced in the updates and deletions WHERE clause, but they cannot be manipulated by DML.
    The tables containing virtual columns may still be eligible for result caching.
    Functions in expressions must be deterministic when the table is created, but can then be recompiled and non-deterministic without for as much invalidate the virtual column. In such cases, the following steps must be taken after the function is recompiled:
    Constraint on the virtual column must be disabled and re-enabled.
    On the virtual column indexes must be rebuilt.
    Materialized views that access the virtual column must be fully refreshed.
    The result cache must be flushed if the virtual column acceded to the request (s).
    Statistical table must be regathered.
    The virtual columns are not supported for the organized and external object in index, cluster or temporary tables.
    The expression used in the virtual column definition has the following restrictions:
    It cannot refer to another virtual column by name.
    It can refer to the columns defined in the same table.
    If it refers to a deterministic user-defined function, it cannot be used as a partitioning key column.
    The result of the expression must be a scalar value. It cannot return that an Oracle supplied the data type, a type defined by the user, LOB or LONG RAW.
    >

    Published by: Vanessa B on October 16, 2012 23:48

    Published by: Vanessa B on October 16, 2012 23:54

  • Value of the link column remove null values

    Hello

    I use 4.1.1 and I have a column in a classic report that I have configured to post a link to another page in the application. I use one of the IMGS 'edit' and I put the report to show significant like but when I run my page and the value is null, I get always a hyphen and a link (for example. ("' - that is a link) which redirects me to another page. I know a fast method of sale would be to hardcode the html code in the sql code and I know that you should really put an html tag that is similar between your sql. With this in mind are other suggestions of display and img/a for null values.


    Thank you very much

    Alistair

    You can try css:
    #r_contacts_rowview td [headers = "OFFICE_EMAIL"] a [href = "mailto:-"] {}
    display: none;
    }

    He finds the elements of anchoring with mailto value '-' (my null values) in my office_email column. r_contacts_rowview is a static id for a region.
    Display: none to hide items. This works rather graceful.
    Note that this works in IE7/8 your page should be a doctype ( )

    If you don't want a doctype or whatever it is, you can also try jquery of course
    function remove_hyphen_links() {}
    $("td_[en-tetes_=_'office_email']_{a").each (function ()})
    {if ($(this).)} (Text()=='-')}
    $(this) .remove ();
    };
    });
    };

    If I run this onload of my page, I can see hyphens, shortly before they disappear, I don't like too much. Of course, you must bind it to the "apexafterrefresh" - event in your area, as well as the links are also deleted after a partial page refresh (paging).

Maybe you are looking for

  • HP Power Manager win8

    The win8 Upgrade Wizard always says that I have to upgrade the power manager in my series DV6 notebook. Is ther anywher to get an update for win8?

  • Compaq CQ61-410US boot CD drive

    My new Compaq does not start an UBUNTU or a CD of Acronis, he seems to use the player for a few moments and then ignore it and start in Windows 7.  The boot order displays the CD drive first, and the two CD will start fine on other machines.  What is

  • Printer e-all-in-one-HP Photosmart 5510d

    Hi guys,. I bought a HP Photosmart 5510 d about 4 months ago. I replaced the black cartridge with no problems at all. I have a problem with the color cartridges after what they have been replaced. I have them have installed correctly, the machine has

  • SegmentedControl options

    How can you put more than 4 SegmentedControl control options

  • BlackBerry smartphones push to Talk (PTT) button

    No idea how to disable the push to talk button on the side the 8310?