Change cell color in a table based on the input

Hi guys

Please refer to my example, I have attached. I had a 2d with som information table. 1 row = 1 component information and it's electric. This table is put in a table when you press "Update" in the front panel. My goal is that based on index 1 of table (col2 'Edge'), the color of the TableRow should change color. If the contents of the line is S20-1, the color should be red and so on. It works a little bit, but I'll have a few bugs:

-You must press "Reset" twice in order to remake the Whiteboard.

-The first colorchange also changes the color of the entire table. I want my whiteboard and lines to change color (header and TableRow unused must be white).

You can change the first element in the array constant of S20 - 1-S20 - 3 and you will see that my program brings to the whole blue table on the first colorchange.

Is this a mistake on my part? Or is this a bug in LV (which I doubt)?

Property nodes are running up and down, and you have the reverse order. You set the color first, and then the active cell, which means that the colour be trolling a run.

Your code is also too complicated. Here's a quick draft how this could be done. Let me know if you have any questions.

Tags: NI Software

Similar Questions

  • Is there an easy way to filter a 2D table based on the values in two fields?

    Y at - it an easy way to filter a 2D table based on the values of one of the fields. In my attached VI the output array has the following format:

    Ident Frame Type bytes TimeStamp data

    10:57:07.621 3AD00016 POUVEZ 8 0000000000000000 data frame

    10:57:07.622 3AD00017 CAN data frame 8 000005E000000000

    10:57:07.624 3AD00018 POUVEZ 8 0000000003300000 data frame

    10:57:07.625 2DC00000 POUVEZ 8 0000000000000000 data frame

    10:57:07.626 3AD00019 POUVEZ 4 0000030000000000 data frame

    I would like to delete all lines that do not have an "Ident" between the values of 3AD00000 and 3AD0001E. So for the data above the fourth row would be removed. The only way I can see to do this is to form a 1 d table. Is there a better approach?

    Thank you.

    Hi chuck72352,

    After you've sorted your data, you can use the function InRange. Combined with a "search in 1 table D", you get the range you really want.

    Mike

  • SQL script to insert values into a table based on the type of user

    Hello

    I have a requirement where I need to insert (username, groupname) in a table based on the user name.

    We have two types of user accounts:

    (1) user name, which starts with "DV" example: "DVPATM."

    regular user 2) example: 'PATM '.

    If the user name begins with "DV" under instruction insert should kick in

    insert into < tablename > (username, groupname) VALUES (< username > ' < groupname1 >).

    otherwise below insert statement should kick in

    insert into < tablename > (username, groupname) VALUES (< username > ' < groupname2 >).

    I need to use SQL or stored only procedure.

    Please suggest

    Thanks in advance

    All things being constant, you could use decode/case just for groupname by examining the first character t the user name, for example

    insert into (username, groupname) VALUES (, (substr ( , 1, 2) the case when "DV" then else end));

    Fixed edit: value for OTHERS, as noted by Frank

  • insert into the table based on the difference in line (or using less)

    Hello

    Oracle Version: 11g

    Operating system: Solaris 10.

    I was wondering if it is possible to insert data in a table based on the operator 'less' Please?

    We have a very large table in a database, we moved to a different database. The table is cleared by a line for a certain range of dates, and we wondered if it is possible to insert this line of data in the remote database using the difference of rank between the two tables.

    Here's the query that we are running:

    SELECT ID , TO_CHAR (creation_datetime, 'yyyy-mm-dd')
    from TABB10 
    where TO_CHAR (creation_datetime, 'yyyy-mm-dd')='2014-03-18' 
    minus 
    SELECT ID , TO_CHAR (creation_datetime, 'yyyy-mm-dd')
    from TABB10@TABB_LINK.APDB00 
    where TO_CHAR (creation_datetime, 'yyyy-mm-dd')='2014-03-18'
    

    TO_CHAR (CR ID

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

    2.4111E + 17-18 / 03 / 2014

    Any ideas please?

    Thank you

    If I don't get me wrong, you can insert as below

    INSERT INTO REMOTE_TABLE@DBLINK

    SELECT ID, TO_CHAR (creation_datetime, "yyyy-mm-dd")

    of TABB10

    where TO_CHAR (creation_datetime, 'yyyy-mm-dd') ='' 2014-03-18

    less

    SELECT ID, TO_CHAR (creation_datetime, "yyyy-mm-dd")

    of TABB10@TABB_LINK. APDB00

    where TO_CHAR (creation_datetime, 'yyyy-mm-dd') ='' 2014-03-18

    Concerning

  • divide the table based on the number of lines

    Hello

    I am trying to split a table based on the number of lines and then treat.
    Say I have a TEST_XXX table that contains 50 lines, what I would do is.
    to access multiple lines of 10. How can we achieve this?

    What I thought is, once the table is created and the line are filled.
    Add a new column to the table and perform a procedure that inserts of 1 to 10 first lines
    and 2 to 10 lines and 3 to 10 next ranks... etc. Based on this, that we can treat
    the first set of lines then play next or etc...

    is there a better way to do it?

    Code to create the table:
    CREATE TABLE TEST_XXX
    (
      A_ID   VARCHAR2(10),
      B_ID   NUMBER,
      c_ID   VARCHAR2(10),
      D_ID   NUMBER
    )
    Code to add lines:

    DECLARE
    BEGIN
      FOR I IN 1..50
      LOOP
          INSERT INTO TEST_XXX VALUES('ABCDE',123,'ZYXWV',321);
      END LOOP;
      COMMIT;
    END;
    The original problem is, I have a huge table, and I write a sql query to process,
    When I treat him by selecting all the values in the table, it is very slow.
    But when I have treat small Coulon (say 100 rows), it works very well.
    That's how I got the approach described above in mind.

    You can use NTILE.

    See:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/functions101.htm#SQLRF00680
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:47910227585839

  • How to update the password on the other table based on the mod

    Hello

    I need to update the password for the other table based on the mod.

    I have two table 'user' and 'reset '.


    User:

    Username username password date_exp

    s232322 Bobby John sdds4545df4r 10/12/2010
    s454566 George Bill f444556gh76 07/14/2010
    s343466 Bill Clinton fgf54tyujkkkhj 06/12/2011
    .
    .
    .


    Reset:

    Series encrypt decrypt

    fgf5656fg 0 Watellemon
    1 dfggf5665 lime juice
    dfdffd545 2 applesalad
    3 54r4gggt airlines
    construction of 4 hg44hh63
    5 fgf4343yh security
    .
    .
    .

    How can I update the password of a table to another table "reset"?

    Ex: query

    Update user set password = (select Encrypt reset where mod (length (username), 10))


    If mod (length (username), 10) is 0, it should take series "0" encrypt the password and update the password in the table "user".
    If mod (length (username), 10) is 1, it should take serial '1' encrypt the password and update the password in the table "user".
    If mod (length (username), 10) is 2, it should take series '2' encrypt the password and update the password in the table "user".
    If mod (length (username), 10) is 3, it should take series '3' encrypt the password and update the password in the table "user".
    If mod (length (username), 10) is 4, it should take series '4' encrypt the password and update the password in the table "user".
    ....


    Please help me write an update query.




    Thank you
    Nihar

    Hi, Nihar,

    You almost had it! You just need to correlate the subquery for the main UPDATE statement, like this:

    UPDATE     user_table     u     -- USER is a built-in function; it's not a good table name
    SET     password = ( SELECT  encrypt
                   FROM    reset     -- RESET isn't a very good table name, either
                   WHERE   serial     = MOD ( LENGTH (u.username)
                                             , 10
                                   )
                 );
    
  • table cell color dynamically and programmatically based on a condition of entry

    Hello
    We use Jdev 11.1.1.6.0 for my ADF development.
    In our page Jspx, we have three components:
    1. a reading table used with an additional column "Error box" in the form of input text
    2. a text entry accepts employeeID running,
    3. a command button on the occasion of the red cell in the column of the error box against the received EmployeeID

    Required functionality:
    1. the user will be entered EmployeeID (which has the error of data) in the input text and press the command button
    2.internally, by programming, there is a bean method call from IE button which will accept the entry and check the rowKey in the table corresponding to the EmployeeID using the Iterrator function and retrieve the exact id of this cell in the column ErrorBox.
    3. after obtaining the id, highlight the cell in the column of the error in red box.

    I used the following excerpt from the bean to have the feature but does not work and also there is no error indicating that:

    * if (row.getAttribute ("EmployeeId")! = null) {*}
    * if (row.getAttribute("EmployeeId").toString () .equalsIgnoreCase ((String) component.getValue ())) {*}
    RowSetIterator empRSIter = iter.getRowSetIterator ();
    Line currentRow = empRSIter.getRowAtRangeIndex (i);
    String tableId = table.getClientId (facesContext);
    RKS RowKeySet = table.getSelectedRowKeys ();
    inputId tableId = + ': ' + i + ': ' + 'ot10;
    org.apache.myfaces.trinidad.render.ExtendedRenderKitService service;
    Service = org.apache.myfaces.trinidad.util.Service.getRenderKitService (facesContext, ExtendedRenderKitService.class);
    service.addScript (facesContext, "field var = AdfPage.PAGE.findComponentByAbsoluteId (" "+ inputId +"'");") field.style.backgroundColor = "red"; ») ;

    We strive to highlight the error in the table in the column of the error against the EmployeeId box has received. But we cannot get the functionality. Please suggest.
    Thank you
    Charrier

    Hello

    1. you must maintain the value of the string in a bit more broad (try pageFlowScope, for example) IE - value = "#{pageFlowScope.myBean.empId} '"
    2. Add a partialTriggers for the score table the ID of the text input.
    3.

    #{row.EmployeeId == backingBeanScope.myBean.empId ?'backgroundcolor:red;':'backgroundcolor:black;'}">
    {code}
    should be
    {code}
    #{row.EmployeeId == pageFlowScope.myBean.empId ?'background-color:Red;':''}"> 
    

    Arun-

  • Under certain conditions changing cell color in a dynamic array.

    I'm developing an application where I'd like to set the background color of a cell in a PivotTable based on the value of the cell content. I have two questions:

    the first is that when I use the following EL in the property of inlinestyle, I get the cell colored but not completely just the bottom of the text.

    < af:forEach elements = "#{bindings." Var MyView1.attributeDefs}' = 'def' >
    < af:column headerText = "#{bindings." MyView1.labels [def.name]}"id ="c1 ".
    attributeChangeListener = "#{backingBeanScope.backing_my.c1_attributeChangeListener} '"
    rowHeader = "true" >
    < af:outputText value = "#{row [def.name]}" id = 'ot1' "
    GT = inlineStyle "#{row [def.name] 10000?' background-color: Red;':"} "/ >
    < / af:column >
    < / af:forEach >

    the second issue is that I want to only apply it to all the columns after the first column have a valid numeric value. I get a NumberFormatException when a nonnumeric value is encountered. Thank you for your help... :)

    As always, you should mention your jdev version...
    You did not mention what you want in a different color. However you can test yourself with a normal component. Play with styles until you get the result you want. Then copy the inlineStyle into your dynamic table. The string can be very long, you be better off using a skin in the first place.

    You second problem cannot be handled only in a managed bean method. Call a method in a managed bean to check if the value of the cell is a number valid and then apply the style for the element.

    Assemble the two solutions, you end up with a method to a bean that checks the value and returns the inlinestyle or the styleclass string.

    Timo

  • Excel freeze when changing cell color and HP LaserJet CM1415fn is default printer

    We use a HP LaserJet CM1415fn connected via Ethernet. The computer is running Windows 7 x 64 with the latest printer drivers available on the HP Web site as of today.

    When this printer is the default printer, there's a freeze occurring in Excel when we try to change the color of a cell, exactly as described here:

    http://answers.Microsoft.com/en-us/Office/Forum/office_2010-Excel/changing-font-color-causes-Excel-t...

    and here:

    http://answers.Microsoft.com/en-us/Office/Forum/Office_2007-Excel/Excel-not-responding-when-changing...

    Both messages suggested that set the default printer to something else solves the problem and that the problem lies in the driver printer, and indeed, the default printer to something other that our HP printer makes this problem disappear immediately.

    Could you please provide an updated driver or a workaround another that set the default printer to something else?

    To after what I read this peut be bound by printer drivers, but I doubt that the problem is caused by the printer driver. They do refer to is an editor of document to their default the Printers folder, which I do not have is - not - a printer driver. The XPS Document Writer 'prints' documents in a file, it is not really a printer driver at all and it's more a misnomer to consider it as such.

    The description of the problem, it seems always be attached to the Software Suite. If it is a problem that the effects of several printer drivers (according to the user), it wouldn't make sense to assume that the problem is the drivers for the printers belonging to users who have this problem, but the common factor uniting the experiences here, that would be the desktop software.

    What you can do is check the following link to ensure that A) all updates are applied correctly B) driver software is updated through uninstall/reinstall and (C) you ensure that the printer firmware is up to date:

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?cc=us&LC=en&DLC=en&product=4089468

    It is possible, it's a hangup in the software, but if things internally within the program that it would not make sense of how the printer HP programming works.

    I would like to know how it goes!

    -Spencer

    PS Hope you have a wonderful day and that your time is as beautiful as she is here!

  • How can I change the color of coloumn value based on the value of other columns

    I'm creating mobile applications.
    I have occupancy_current, occupancy_forecast of columns in a table.
    If the current value less than the forecast, current must appear in red color.if current value more current forecast should appear in green.
    what I have to do this.

    I appreciate your help and your time.

    Sanchez.

    Hi Catherine,

    These codes work on a web browser. Have not tried the good mobile.

    
      
    
    

    Kind regards
    Amélie Chan

  • help to try to simplify the form table, based on the collection using dynamic measurements

    Hi everyone, I have tried cleaning and simplify an application designed in 2008 apex 3.2.  We have improved in 4.1.2 and want to take advantage of our understanding of the apex and the dynamic measures to simplify a large part of our code, get rid of the redundancies and make it easier for the programmer to debug and improve next.

    The application is for traders and commercial fishermen and currently has around 4100 users.

    The part that I'm trying to simplify is a tabular report, based on a collection.  Almost all areas in this tabular form has a logic linked to it... and in most cases, it is superfluous in that it executes a UPDATE_MEMBER on the collection.  I would like to remove as much of javascript and additional processes as possible.   I'm also still very new to jQuery and javascript, and faced with the two... but competent in pl/sql.

    tabular query is:

    {code}

    SELECT
    seq_id,

    apex_item. Text (1, seq_id, "," "id ="f01_"| seq_id,",")"DeleteRow. "

    apex_item.text_from_LOV (C004, 'SPECIES'). » -'|| apex_item.text_from_LOV (C005, 'RANK') | » -'|| apex_item.text_from_LOV (C006, 'MARKETCODE') | » -'|| Unit apex_item.text_from_LOV_query (c007, 'select unit_of_measure d, unit_of_measure r species_qc'),

    apex_item.select_list_from_LOV (6, c008, "STOP," onchange = "getAllDisposition('||) seq_id. "" ")" ',' YES, '0', "- Select favorite -", ' f06_ ' | seq_id, cm) available.

    apex_item.select_list_from_LOV (7, c009, style of ' GEAR, "=" background-color: #FBEC5D;) "onFocus ="checkGearPreviousFocus('||). " seq_id |') ; "OnChange ="getAllGears('|| seq_id ||). " "" ")" ',' YES, 'f07_', "- Select favorite -", "3333" | seq_id, cm) Gear,.

    apex_item. Text (8, TO_NUMBER (c010), 5, null, "onchange ="setTotal('||)) seq_id. ")" «, » f08_'|| seq_id, cm) quantity.

    apex_item. Text (9, TO_NUMBER (c011), 5, null, "onchange ="getPriceBoundaries('||)) seq_id. ")" «, » f09_'|| seq_id, cm) price.

    apex_item. Text (10, TO_NUMBER (c012), 5, null, "onchange ="changePrice)
    ('| seq_id |') "onKeyDown = selectDollarsFocus('||) "(seq_id |', event);" ',' f10_'| "" seq_id, cm) $,.

    Decode (c013, 'Y', apex_item.text (11, c014, 30, null, "style =" background-color: #FBEC5D;)) ' onClick = 'onFocusAreaFished('|| seq_id||'); "',' f11_'. seq_id, cm), "n","N/A") Area_Fished, "

    Decode (c017, 'Y', apex_item.text (12, c018, 4, null, "style =" background-color: #FBEC5D;)) "onBlur ="setUnitQuantity('||). " seq_id. ")" «, » f12_'|| seq_id, cm), "n","N/A") UNIT_QUANTITY, "

    Decode (c017, 'Y', apex_item.text (13, 'CN', 3, null, "readOnly = readOnly; ',' f13_'|")) seq_id, cm), "n","N/A") UNIT_COUNT, "

    Decode (c050, 'Y', apex_item.checkbox (14, 'Y','id = "f14_" | seq_id |')) "style =" background-color: #FBEC5D; " onClick = "alterYes('|| seq_id||');" "onKeyPress = alterYes('||) (("(seq_id |');" ', c021), "n", "S/o") FinsAttached,.

    decode (c050, 'Y', apex_item.checkbox (15, ', "id ="f15_"|")) seq_id |' "style =" "background-color: #FBEC5D;" onClick = "alterNo('||)" seq_id |') ; "onKeyPress = alterNo('||) (("(seq_id |');" ', c022), "n", "S/o") FinsNotAttached,.

    Decode (c050, 'Y', apex_item.checkbox (16, 'U','id = "f16_" | seq_id |')) "style =" "background-color: #FBEC5D;" onClick = "alterUnk('||)" seq_id |') ; "onKeyPress = alterUnk('||) (("(seq_id |');" ', c023), "n", "S/o") FinsUnknown,.

    Decode (c050, 'Y', apex_item.textarea (17, c028, 3, null, "onchange ="setExplanation('||))) seq_id. ")" «, » f17_'|| seq_id, cm), "n","N/A") explanation, "

    Decode (c024,' no, apex_item.select_list_from_LOV (18, c029, 'HMSNATURE','onchange = 'saveNature('||))) seq_id. ")" ',' YES, ' one ', "- Select Nature of sales -", "f18_" | seq_id, cm), 'U', apex_item.select_list_from_LOV (18, c029, 'HMSNATURE','onchange = "saveNature('||)) seq_id. ")" ',' YES, ' one ', "- Select Nature of sales -", "f18_" | seq_id, cm), 'Y', 'N/a') Nature_Of_Sale,.

    decode (c020, 'Y',
    apex_item.select_list_from_LOV (40, c040, 'HMS_AREA_CODE',
    "style =" background-color: #FBEC5D;
    "onchange ="saveHMSAREA('||). " seq_id |', this.value) "',' f40_'|" seq_id, cm),
    (' N N/A ',' ') HMS_AREA_CODE;

    C020, c050,

    decode (c020, 'Y',
    apex_item. Text (41, TO_NUMBER (c041), 5, null, "onchange ="setSalePrice('||)) seq_id |', this.value) "',' f41_'|" seq_id, cm),
    (' N n/a ',' ') Sale_Price

    of apex_collections
    where collection_name = 'SPECIES_COLLECTION' order by desc seq_id

    {code}

    I am slow at first and just try to replace the ONCHANGE for apex_item 41 (retail price).   I hope that finally replace all the onblur/onchange to use the same dynamic action.

    The ONCHANGE for apex_item 41 is currently:

    {code}

    function setSalePrice (pRow, savePrice)

    {

    get var = new htmldb_Get (null, & APP_ID., 'APPLICATION_PROCESS is saveSalePrice', 0);

    Get.Add ('SETVALUE3', savePrice);

    Get.Add('ATTRNBR3','41');

    Get.Add ('SEQUENCEID', Prow);

    gResult = get.get ();

    }

    {code}

    the saveSalePrice application process is:

    {code}

    Start

    apex_collection.update_member_attribute (p_collection_name = > 'SPECIES_COLLECTION',)

    p_seq = >: SEQUENCEID.

    p_attr_number = >: ATTRNBR3,.

    p_attr_value = >: SETVALUE3);

    end;

    {code}

    I created two new hidden fields: P110_ID and P110_VALUE.

    I created a dynamic action: CHANGE COLUMN

    event: change

    selection type: jQuery Selector

    jQuery Selector: input [name = "f41"]

    real action 1 - records P110_ID with javascript expression: this.triggeringElement.id

    real action 2 - P110_VALUE value with javascript expression: this.triggeringElement.value

    true action 3 - run pl/sql code

    {code}

    declare

    number of v_member;
    number of v_seq;

    Start
    v_member: = TO_NUMBER (SUBSTR (: p110_id, 2, 2));
    Select ltrim (substr(:p110_ID,5,4),'0 ') in the double v_seq;

    safis_collections.update_column (v_seq,
    v_member,
    (: p110_value);
    end;

    {code}, where safis_collections.update_column is a package of db

    {code}

    Procedure update_column ()v_seq in varchar2

                            v_attr in number ,

                            v_value in VARCHAR2 )

    is

    Start

    apex_collection . update_member_attribute()p_collection_name=> 'SPECIES_COLLECTION'

                         p_seq = > v_seq ,

    p_attr_number = > v_attr ,

    p_attr_value = > v_value );

    apex_debug . message ()'put a day of column.seq ='| v_seq || 'attribute =' || v_attr || "with" || v_value );

    end ;

    {code}

    real action 4 - refreshment area

    I modified the query in a table to reference apex_item 41 to be

    Decode(C020,'Y',apex_item.) Text (41, TO_NUMBER (c041), 5, null), 'No,' N/a ') Sale_Price in the hope that it would fire the dynamic action.   I get the below error.  The value of P110_ID is null, the value of P110_VALUE seems to be correctly set.

    call returned Ajax Server ora error-sequence of 20103:member does not work
    There are in the collection 'SPECIES_COLLECTIO' application to run PL/SQL code

    I appreciate all thoughts/help on this.

    Thank you, Karen

    AHHA.  change the query to

    Decode (c050, 'Y', apex_item.textarea (28, c028, 3, null, null,,'f28_'| seq_id, cm), ' n ',' n/d "") explanation,.

    and that did the trick.  On the next item.

  • How to highlight the line of the ADF table based on the value of the column?

    Hi all

    I use jdev 10.1.3.4. I want to highlight a table row or a cell based on the value of the column.

    Lets say, I have a table emp with column empid, empname and sal. I want to emphasize the lines that have sal = 10000.

    How can I achieve this? Please help me with this.

    Thank you
    Abhijit

    Hello

    You want to highlight the lines? or set a different color for the lines? If it's the second, you can set the inline style based on the salary. (+ Edit: well, never mind, both are same :)) +)

    Something like

    
    

    If you want the entire line to be a different color, you have 2 options.

    1. define the same style inline for all columns in the table (good if you want to do only for a single table).
    2. create a style class and apply the styleclass based on the value of sal (preferably if you want the same behavior in all of your application).

    Arun-

    Published by: joel Ramamoorthy, October 23, 2009 16:56

  • Hide the line of adf table based on the transient attribute does not

    I have a JSF page where the user can insert new line in View object . this View object contains a transitional attribute which indicates whether or not the record is newly created.

    On the same page, I have a table adf which is bounded on the city view object . This table should show only newly created records. my approach is to use expression language of in the renditions property to hide all the other lines that are not newly created. I changed the render property for the columns of the table as: rendered="#{row.bindings.RowStatus.inputValue eq'new'}" , but the table does not show anything.

    Then, I tried to change the made not for the column property, but to the outputText inside the same way. It worked, but the problem is that the blank line is always on display.

    So, basically because I do not hide the entire line, instead I'm hiding the text in the lines and lines with spaces empty is still on display in the page aside.

    The Table of JSF page where the made property is applied on outputText inside the column:

    <af:table value="#{bindings.UplodedFilesView1.collectionModel}" var="row"
      rows
    ="#{bindings.UplodedFilesView1.rangeSize}"
      binding
    ="#{CreatSR_UserBean.fileTable}">

      
    <af:column sortProperty="#{bindings.UplodedFilesView1.hints.FileName.name}"
      headerText
    ="File Name" id="c1">

      
    <af:outputText value="#{row.bindings.FileName.inputValue}" id="it1"
      rendered
    ="#{row.bindings.RowStatus.inputValue eq'new'}"/>

      
    </af:column>

      
    </af:table>

    I use Jdeveloper with ADF technology 11.1.2.3

    Thanks Timo,

    You are right. Its to late to hide lines after stamping in the row set. I solve the problem by filtering the view object, based on the transitional attribute in the section of liaison page. The steps as follows: (assuming that the object from view with the temporary attribute has been created, and the transient attribute contains the filtered values)

    1. Drag the view object on the page and also make the Table (in my case it might otherwise listen)
    2. On the page, go to the connection tab.
    3. Double-click the object desired in the links column.
    4. New window will appear titled with (change the binding tree)
    5. Check the option (enable filtering)
    6. Select the (filter attribute) and (filter value) for the selected filter attribute.
    7. Select (Display attribute) you want to appear in the page.
    8. Press OK
  • How to dynamically change values lov to an article based on the button

    Hello

    How to dynamically change the value list of an article based on the button create and apply the changes

    I have the column type of transaction that lov with values as inward, BACK inward outward, outward in the form based on the table...

    in design mode

    I need list to the OUTSIDE inward, in the type of transaction oly column...

    in update mode

    I need the list of BACK inward, BACK outwards in the type of transaction oly column...

    Kind regards

    Pavan

    Maybe something like that for a dynamic LOV

    select label d, label r from
      select 'inward' label  , 'create' chk from dual union all
      select 'outward'       , 'create'     from dual union all
      select 'inward return' , 'update'     from dual union all
      select 'outward return', 'update'     from dual
    )
    where (:P1_ID is null     and chk = 'create')
    or    (:P1_ID is not null and chk = 'update')
    
  • Name of the dynamic property of object in the table based on the value of a variable

    I have two paintings of custom class objects

    var obj1:Object1
    var obj2:Object2
    
    var array1:Array = [obj1[0], obj1[1], ...]
    var array2:Array = [obj2[0], obj2[1], ...]
    

    Object1 has a property named. Name while Object2 has a property named. Title.

    Now I have a common function including cab accepts an array (array1 or array2) and the name of property the object ("Name" or "Title") as input and needs to access this name of the property of the objects in the array:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0].fieldName  = "xxx";
    }
    

    the problem I have this achievement does not because the code in the function assumes that the property of that object in the table is actually a string "fieldName" while I want to dynamically determine the names of the fields based on the value of this variable, but cannot understand the syntax to do!

    Don't know if I'm clear - hope that makes sense... ;-) Thank you

    Hey p3pp3r,

    I think I understood you. Try the following and see if you get good results:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0][fieldName]  = "xxx";
    }
    

    Let me know how it turns out. Good luck!

Maybe you are looking for