Derivative of a cell based on the value of another cell's true/false

Hello

I try to create a list of digital control and would have put cells highlight according to a corresponding value in another cell.

For example, I would like cell D2 to white if the cell H2 is FALSE, or if the values of H2 is TRUE, I would D2 to be green. I want this for about 20 lines.

Any suggestions?

Hi JCR.

Conditional highlighting rules depend on comparing the value contained in the cell to be highlighted (D2) with a second value. The second value may be fixed (recorded in the rule) or may be contained in a cell of the second.

In your scenario, the highlight would be independent of the value in D2.

There are two ways to accomplish what you want using conditional highlighting, highlighting a third cell whose value depends on the value in H2 and whose pointing out will be seen as highlighting of the D2, OR by providing a third cell whose value can match or does not match the value in D2 , the value of H2.

Since you want to highlight only a single cell, and not a group of cells, the second method is probably more simple here.

Each cell in the column I contains the following formula, entered in I2, and filled then down on the rest of the column:

I2: = IF (H, D, "xxx")

English: If the cell in this row of column H is set to TRUE (enabled), copy the value in this row of column D to this cell. If not, put "xxx" in this cell.

'xxx' can be any value that will be ever present in the cells in column D.

The below table conditional formatting rule is placed in cells D2 - D10. The cell reference is to the cell "this rank" in column I and is different for each cell.

Kind regards

Barry

Tags: iWork

Similar Questions

  • Change the Label element based on the value of another element

    Hi guys,.

    I need to put a label of point (A) based on the value of another article (B). I did the following:
    I created a dynamic action.
    When B changes:
    1. present the value of B
    Article 2-updated
    Is element A label: myitem & b.

    Any ideas?

    Best regards
    Fateh

    His work! Check it out now

    Just do it

    $('#mylabel').children('label').children('span').text($v('P1_A'));
    

    Published by: VC on June 9, 2012 11:21

  • How to disable a page based on the value of another element on the Page element?

    Hello

    How can I turn a page element using javascript based on the value of another element on the page?

    Eg: P1_TEXT want to be disabled if the value in P1_LCOK = "LOCK".

    How can I do this using javascript. I want this implemt on loading the page.

    Kind regards
    Benz

    Put this function in the page header:

    
    

    and call it in the footer:

    f_disable_item;
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Fill a field value based on the value of another field

    Hello
    Could someone tell me what is the problem with the following select statement. For a group of records, trying to fill a field with a value based on the value in another field (problem of status), but the Group of records appears empty just when I put this code in the field.
    Any help would be appreciated
    Thank you


    <? choose:? >
    <? When: IssueStatus = "Open"? >
    <? 1? >
    <? end when? >
    <? otherwise:? >
    <? When: IssueStatus = "closed"? >
    <? 2? >
    <? end when? >
    <? otherwise:? >
    <? When: IssueStatus = "Unresolveable? >
    <? 3? >
    <? end when? >
    <? end otherwise? >
    <? end to choose? >

    Use the following syntax.

    
    
    Display 1
    
    
    Display 2
    
    
    Display 3
    
    
    
  • How do I delete an article based on the value of another field


    I have a pdf form that I added to the text fields. My challenge is that of the financial section of the form, if the value of a specific field is empty or null, I blank block of signature financial review.  I've been trying to find a way to cover the area of signature with a white box or have a text box with signature block text appear or disappear depending on whether the value is zero or empty.

    If seen many answers on how to make the field itself disappear based on value, but I did find something that causes another field or shape appear or disappear depending on the value of another field.

    Please try the following script,

    var signid = true;

    If (this.getField("finan").value! = 0) signid = true;

    of another signid = false;

    If (SignID) this.getField("signaturefield").display = display.visible;

    else this.getField("signaturefield").display = display.hidden;

    Please let me know if it solves the problem.

  • Deactivating a page element based on the value of another element on the page

    Hello
    I have a page element I want to turn off if the value of another article (drop-down list item) is set to a specific value. I followed the example in the book 'Pro Oracle APEX"(p.320) in this regard. He ordered me to do this in the HTML form element attributes for the element section:
    OnChange = "htmldb_item_change (this); html_DisableOnValue (This, 'Closed', 'P3_PRIORITY', 'P3_ASSIGNED_TO'); »

    It works very well. It disables the element I want to disable. HOWEVER, it does not neutralize the article unless the element with the onchange attribute is changed.

    How can I add features to disable the second element, even if the first element does not change, but contains the value 'Closed' when the user of the first load of the page?

    Thanks for your help and your insight!
    -Reid

    Hello Reid,

    The easiest way would be to (also) a Condition only read the item that you want to disable.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • Contents of a cell based on the value of another

    Hello

    I have a sheet with several table (DATA and PREP).

    I used the 'FEATURES' table to fill the cells being DRAFTED.

    For PREP::C1, I have this formula: "= DATA::A13" (a chemical name).

    But, in PREP::D6, I need to have "= DATA::C13" (the chemical concentration).

    In PREP::G3, I need to have "= DATA::F13" (the chemical product prices).

    Is it possible to automatically generate PREP::D6 and PREP::G3 based on PREP::C1? As a formula, saying "even rank, but two columns next."

    I propose PREP::C1 only in column A (such as A1, A2, A3... (AX) and PREP::D6/C1 will always be in column C and F.

    Thank you!

    You can "find" the values of the data table with something like this:

    The formula in D6:

    = INDEX(Data::C,MATCH(C1,Data::A,0)))

    The part of the CORRESPONDENCE of the formula found which line the value of C1 occurs in column A of the data table and the INDEX then seeks the value of this line number in column C of the data table.

    The formula of the G3:

    = INDEX(Data::F,MATCH(C1,Data::A,0)))

    The part of the CORRESPONDENCE of the formula search which line the value of C1 occurs in column A of the data table and the INDEX then seeks the value of this number of line in column F of the data table.

    SG

  • Disable the number of items based on the values of another page/table

    Hi people,

    I have a form with 15 fields such as:

    Form1

    id_plan = 1

    level 1 = 2

    level 2 = 2

    level 3 = null

    level 4 = null

    level 5 = null

    level 6 = null

    and so on...

    Later, in another form that I have:

    Form2

    ID

    id_plan (from 'form1')

    account: 10.01 (based on the number of decimal places defined on the level of 'form1')

    So, I need to disable page Form1 items if I had some values of Form2. But only the levels where the account is registered. In the example above, only level 3, level 4, level 5, level 6 and so on would be activated.

    Any suggestion?

    I could put a read only condition for any page in question, is it good? or there is another suggestion?

    Thank you

    bsalvador

    Hi people,

    To resolve my issue, I used the read only option. I chose the body of the PL/SQL function returning a Boolean and put

    Start

    If (CST_RETURN_LEVEL(:P7_ID_PAR_PLANO_GER) > = 2) then

    Returns true;

    end if;

    end;

    where CST_RETURN_LEVEL is a function that returns the last filled level. If the point of the page is at level 2, I test, if CST_RETURN_LEVEL(:P7_ID_PAR_PLANO_GER) > = 2 then I returned true for read only and so on for other page elements.

    Thank you

    bsalvador

  • Getting the value of a column based on the value of another column in a max group

    Please let me know if there is a simple way to do it.  I came up with a way, but it is terribly inefficient and it must work quickly.

    GROUP_ID NO_REGISTRE READ_VALUE QUARTERLY

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

    2 1 0.035 00:00:00.000000000 01/01/2015

    2 0.035

    3 1 1.11 14:50:32.943000000 14/07/2015

    3 2 222 01/01/0001 13:36:47.017436000

    3 223.11

    So what I need is for all no_registre is NULL, I need the value of QUARTERLY for the QUARTERLY to the MAX (READ_VALUE) for this GROUP_ID (not counting the rows where the no_registre is NULL).  So the result would look like this:


    GROUP_ID NO_REGISTRE READ_VALUE QUARTERLY

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

    2 1 0.035 00:00:00.000000000 01/01/2015

    2 0.035 00:00:00.000000000 01/01/2015

    3 1 1.11 14:50:32.943000000 14/07/2015

    3 2 222 01/01/0001 13:36:47.017436000

    3 223.11 13:36:47.017436000 01/01/01

    Someone at - it ideas?

    Or maybe:

    -production of the sample data:

    WITH t (GROUP_ID, no_registre, READ_VALUE, QUARTERLY)

    AS LONG AS)

    SELECT 2, 1, 0.035, TIMESTAMP ' 2015-1-1 00:00:00 ' FROM DUAL

    UNION ALL SELECT 2, NULL, 0.035, THE DOUBLE NULL

    UNION ALL SELECT 3, 1, 1.11, TIMESTAMP ' 2015-07-14 14:50:32 ' FROM DUAL

    UNION ALL SELECT 3, 2, 222, TIMESTAMP ' 0001-1-1-13:36:47 ' FROM DUAL

    UNION 3 SELECT ALL, NULL, 223.11, NULL FROM DUAL

    )

    --

    -actual query:

    --

    Select group_id

    no_registre

    read_value

    , last_value (quarterly) ignores NULL values over (partition by arrested by no_registre last read_value null, group_id) quarterly

    t;

  • XMLTYPE Datatype - extracted value of an element based on the value in another element

    Hi all

    I have a typical XML problem in which I am trying to extract the value of a property on the base of another.

    Here is an example of XML data:-

    < object type = "InstanceObject:instanceKeyValue" version = "2" >

    < property name = 'name' value = 'COUNTRY' valueType = "string" / >

    < property name = "keyValueType" value = "VARCHAR" valueType = "string" / >

    < property name = "keyValue" value = "SINGAPORE" valueType = "string" / >

    < / object >

    < object type = "InstanceObject:instanceKeyValue" version = "2" >

    < property name = "name" value = "DATA_SET" valueType = "string" / >

    < property name = "keyValueType" value = "VARCHAR" valueType = "string" / >

    < property name = value 'keyValue' = 'April 9, 2014' valueType = "string" / >

    < / object >

    My requirement is-

    If value = 'COUNTRY' under/object/property then I need the property value where @name = "keyValue" that is Singapore.

    But when I do

    SELECT EXTRACT('object/property[@name="instanceKeyValues"]/object/property[@name="keyValue"]/@value')

    I get the two keyValues SINGAPORE09-APR-2014

    While I only need Singapore.

    No idea how we can solve this?

    Sorry, I'm a jerk, so finally I just with this

    with t as)
    Select xmltype)
    '
            
               
               
               
           

           
               
               
               
           


               
               
               
           

    '
    ) x
    of the double
    )

    Select
    Val
    t
    xmltable)
    "for $o in/root/object.
    ["Let $p: = $o/property[@name="keyValue "]
    ["where $o/property[@name="name"][@value="COUNTRY "]
    Return $p'- or return $p/@value'
    go x
    columns
    path of varchar2 (40) Val '@value' - or '.'
    )

    VAL
    Singapore
    India
  • How to fill out a field value based on the value of another field

    I developed a page. It has two fields 'Qualification' and ' Points' (these two values are stored in a table of rear end).»

    The requirement is, if I select "Qualification" "Points" should be auto Norway.

    This can be achieved using LOV. But I don't want to use LOV here.

    I tried this using the partial Action of fire, but I m not getting the details of "Qualification" in CO, instead getting the value zero.

    How to get there?

    Thank you
    Srinivas

    Hello

    Pls change the code this way

    OAMessageTextInputBean omtb = (OAMessageTextInputBean) webean.findIndexedChildRecursive ("the field id");

    String QName = (String) omtb.getValue (pageContext);

    If ("PopulatePoints".equals (pagecontext.getParameter (EVENT_PARAM)))
    {

    OAMessageTextInputBean otbpnts = (OAMessageTextInputBean) webean.findIndexedChildRecursive ("points field id");

    otbpnts.setValue (pagecontext, Points);
    }

    Thnax
    Pratap

  • How to format a single cell based on the value in another cell?

    IM using JDEV 11.1.2.4 and had the following use cases.

    based on a threshold value in a column of my line, I want to show a different value in the color red.

    How to get there?

    Hello

    This could be a possible solution using inlineStyle and a simple logic of EL

    inlineStyle = ' #{rank. " TRESHOLD > 10? "{" color: #990000 ': "color: #000000 '} '.

    ID = "ot1" / >

    Marc

  • How can I display more fields based on the value of another field in conjunction with the visibility of the others?

    I have 17 text fields 'questions' and have hidden buttons for each I would appear once the administrator puts in a "password" at the bottom of the page.

    For the "password", I created a text field to enter this password and a "Log In" button.

    I want to be able to do is for the user to put in the 'password' and the 'Log In' button contains the script necessary to display these fields. 17 text fields show only one at a time, so I want the action of the 'Log In' button to show only the hidden buttons corresponding to the current visible areas.

    Here is my code. What happens is little matter what I do, it says the password is incorrect and mask "publient1" which has never been specified in the code in a variable.

    Initially, I had the first "else if" statement as the first "If" statement, but the results are the same in any event.

    var res = this.getField("resolution");
    var password = this.getField("password");
    var res1 = this.getField("add-res1");
    var res2 = this.getField("add-res2");
    var res3 = this.getField("add-res3");
    var res4 = this.getField("add-res4");
    var res5 = this.getField("add-res5");
    var res6 = this.getField("add-res6");
    var res7 = this.getField("add-res7");
    var res8 = this.getField("add-res8");
    var res9 = this.getField("add-res9");
    var res10 = this.getField("add-res10");
    var res11 = this.getField("add-res11");
    var res12 = this.getField("add-res12");
    var res13 = this.getField("add-res13");
    var res14 = this.getField("add-res14");
    var res15 = this.getField("add-res15");
    var res16 = this.getField("add-res16");
    var res17 = this.getField("add-res17");
    var issue1 = this.getField("issue1");
    var issue2 = this.getField("issue2");
    var issue3 = this.getField("issue3");
    var issue4 = this.getField("issue4");
    var issue5 = this.getField("issue5");
    var issue6 = this.getField("issue6");
    var issue7 = this.getField("issue7");
    var issue8 = this.getField("issue8");
    var issue9 = this.getField("issue9");
    var issue10 = this.getField("issue10");
    var issue11 = this.getField("issue11");
    var issue12 = this.getField("issue12");
    var issue13 = this.getField("issue13");
    var issue14 = this.getField("issue14");
    var issue15 = this.getField("issue15");
    var issue16 = this.getField("issue16");
    var issue17 = this.getField("issue17");
    var iv1 = issue1.display = display.visible;
    var iv2 = issue2.display = display.visible;
    var iv3 = issue3.display = display.visible;
    var iv4 = issue4.display = display.visible;
    var iv5 = issue5.display = display.visible;
    var iv6 = issue6.display = display.visible;
    var iv7 = issue7.display = display.visible;
    var iv8 = issue8.display = display.visible;
    var iv9 = issue9.display = display.visible;
    var iv10 = issue10.display = display.visible;
    var iv11 = issue11.display = display.visible;
    var iv12 = issue12.display = display.visible;
    var iv13 = issue13.display = display.visible;
    var iv14 = issue14.display = display.visible;
    var iv15 = issue15.display = display.visible;
    var iv16 = issue16.display = display.visible;
    var iv17 = issue17.display = display.visible;
    var ih1 = issue1.display = display.hidden;
    var ih2 = issue2.display = display.hidden;
    var ih3 = issue3.display = display.hidden;
    var ih4 = issue4.display = display.hidden;
    var ih5 = issue5.display = display.hidden;
    var ih6 = issue6.display = display.hidden;
    var ih7 = issue7.display = display.hidden;
    var ih8 = issue8.display = display.hidden;
    var ih9 = issue9.display = display.hidden;
    var ih10 = issue10.display = display.hidden;
    var ih11 = issue11.display = display.hidden;
    var ih12 = issue12.display = display.hidden;
    var ih13 = issue13.display = display.hidden;
    var ih14 = issue14.display = display.hidden;
    var ih15 = issue15.display = display.hidden;
    var ih16 = issue16.display = display.hidden;
    var ih17 = issue17.display = display.hidden;
    if(password.value == "") {
        res.display = display.hidden;
        res1.display = display.hidden;
     res2.display = display.hidden;
     res3.display = display.hidden;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden; 
    }
    else if(password.value == "firefly" && iv1 && ih2 && ih3 && ih4 && ih5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.hidden;
     res3.display = display.hidden;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && ih3 && ih4 && ih5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.hidden;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && ih4 && ih5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && ih5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && iv14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.noPrint;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && iv14 && iv15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.noPrint;
     res15.display = display.noPrint;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && iv14 && iv15 && iv16 && ih17) {
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.noPrint;
     res15.display = display.noPrint;
     res16.display = display.noPrint;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && iv14 && iv15 && iv16 && iv17) {
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.noPrint;
     res15.display = display.noPrint;
     res16.display = display.noPrint;
     res17.display = display.noPrint;
    }
    else {
        app.alert("The wrong password was entered. Please enter the correct password.")
        iv1;
        res1.display = display.hidden;
     res2.display = display.hidden;
     res3.display = display.hidden;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    

    These lines in your code does not make sense (and the rest of the code is dependent on them):

    iv1 var = issue1.display = display.visible;

    I think what you mean probably to do is the following:

    iv1 var = (issue1.display == display.visible);

    This sentence of yours shows a lack of understanding of the JS operators:

    I also tried several operators equal sign for password.value, including a single equal sign, through three equal signs.

    You should do some research and find out what the differences are between '=', 'is' and ' ='. '. They are essential to your code.

  • Updated based on the value of another check box a box

    We have a business rule that you have to follow.

    If the checkbox "Commit" is checked, then the "Preview" box should be checked.

    We want to handle this through workflow. Here is what we have done so far

    Workflow rule condition: FieldValue ("< bCommit_ITAG >" ") ="Y ".
    Action: Field Update - domain name * is set to forecast
    Value: [< prediction >] = 'Y '.

    Thanks for the help

    Brian,

    What you wrote should work, try Value is set to: = Yes.

    This must also be created in the Administration section under its not web services but the workflow, you'll get better answers.

    see you soon
    Alex

  • Interactive report, change in color of the text based on the value in another column

    I have a sample report at this url:

    workspace: homeworld

    username: test_report

    password: test_report

    APEX version 4.2.3 database 11 g release 2...

    # Application: 202: IR TEST REPORTS

    Page in question is #2 page

    I have the setup of the report and you must make the following change...

    I have 2 columns: Comm and bonus.

    If the bonus > comm, I need to change the text color of the color of the Red bonus

    If the bonus, comm, I need to change the text color of the bonus in green color

    If the bonus = comm, I need to change the text color of the bonus to black color

    I tried using the code with the select and am NOT wanting that, since he will be delivered with the data when they are downloaded in CSV or Excel... Had thought using the construction by highlighting, but that does not compare one column to another...

    Thought a dynamic action, but not clear on HOW to do this, so any help would be appreciated...

    Thank you

    Tony Miller

    Software LuvMuffin

    Hello

    I think that number with JavaScript conversion may not be good idea because it's difficult manipulating different digital formats.

    Check your example on page 3.

    I have added to the report query

    CASE WHEN COALESCE(bonus,0) > COALESCE(comm,0) THEN
     'red'
    WHEN COALESCE(bonus,0) < COALESCE(comm,0) THEN
     'green'
    WHEN COALESCE(bonus,0) = COALESCE(comm,0) THEN
     '#333333'
    END as fcolor
    

    Then I modify every column Expression HTML to be as

    #EMPNO#
    

    Kind regards
    Jari

Maybe you are looking for