View Panel : Change color of data values in channel table

Hi,
Is there a way wherein I can change the color of a particular data value or data block  in a channel in the VIEW panel and can this be done programtically? I am using DIAdem 2010.
Looking forward for your response
Thanks in advance
Priya

Hi Pria,
There is no way to change the color of various cells in a VIEW table.  This can be done (for the text color, not the cell background) in a REPORT table with the help of a customer-defined UserCommand.  I can send you an example of this if having the display in REPORT would help.
If you had a newer version of DIAdem, you could embed a SUDialog in a VIEW area, and this SUDialog could have an XTable control that would enable you to show this type of display-- not easy, and not with DIAdem 10.2, but at least something to consider.
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

  • XD02 transaction to change the customer data for updating KNA1 table?

    Hi all,
    How can we use XD02 transaction to change the customer data for updating KNA1 table?
    Give the steps.
    Thanks in advance
    rk

    Hi KR,
    Why don't u use BDC to run XD02.
    With Regards,
    Zafar Ali

  • Change color of data in a column

    Hello experts,
    i am trying to change the color of data being displayed in a column based on the condition that it the value is 0 then it should be in red
    i have tried the following but it does not work.
    when-validate-item trigger on data block level
    if forecast_cnt = 0 then
    SET_ITEM_PROPERTY('FORECAST_CNT',foreground_color,'R255g0b0');
    end if;Am i doing something wrong?

    Hello,
    Might be the value you are checking is having null. How about trying like this?
    if NVL(:forecast_cnt,0) = 0 then
      SET_ITEM_PROPERTY('FORECAST_CNT',foreground_color,'R255g0b0');
    else
      SET_ITEM_PROPERTY('FORECAST_CNT',foreground_color,'R0g0b0');
    end if;-Ammad

  • How to create a sharepoint list to add/change/delete the data in SQL server Table based on users inputs

    I have a table in sql with employee_num and I need to create a list and link that list to this table to make changes to table based on values user enter or selects.

    Hi,
    In addition, you could refer to one similar thread for related information:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/8ee8a7b2-ddfc-4654-b84e-b062aeb527ae/how-to-create-exernal-list-in-sharepoint-which-fetch-data-from-multiple-sql-table?forum=sharepointgeneral
    Regards,
    Rebecca Tu
    TechNet Community Support

  • A wierd date value when updating table

    Hi all,
    This looks totally strange to me. I have a table that has a column of type 'Date'. DataBase is Oracle 10g/11g.
    In the Java code, the query looks like this:
    "update mytable set Time_stamp = to_date(?,'yyyy-mm-dd hh24:mi:ss') "...
    stmt.setString(1, "2010-12-06 17:17:08");
    When checking the table after this update, it shows '12/6/2010 5:17:08 AM'
    Please notice the '*AM*'. Why did this happen?
    Thanks!
    Shawn

    Hi,
    1) Check Tools-> Preferences -> Database -> NLS for Jdeveloper settings.
    2) To check the date format in DB:
    ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY MM DD';
    select sysdate from dual;
    ALTER SESSION SET NLS_DATE_FORMAT = 'HH24:MI:SS';
    select sysdate from dual;
    As long the value passed to the DB column is in the same data-type, you don't have to worry about the date value. Just use appropriate format mask while showing in the UI.
    Thanks,
    Harikiran

  • Display measurment data and change color depending on value

    Hi folks.  I have a 1D array of double precision measurments.  There are 20 elements in the array.  I need to display them on the front panel as well as change the backround color of each element programatically if it is out of range.  There must be an easy way to do this?
    Thanks in advance!

    Like the man says, you can't change the background color of just one element in an array. HOWEVER, there are a variety of other display options that could work, like listboxes.
    Mike...

  • Spry Accordions, Tabbed Panels, and Collapsible Panels: changing colors

    I wanted to alert everyone to a great new Community article published by our very own David Powers. The article details the various best practices and methods for changing the colors of Accordion, Tabbed Panels, and Collapsible Panels widgets, including tab backgrounds, borders, and so on.
    Here's the article:
    http://kb2.adobe.com/community/publishing/504/cpsid_50437.html
    Customization questions are pretty frequent in both the Spry and Dreamweaver forums. This new styling guide is sure to answer lots of peoples' questions.
    Furthermore, the appearance of such an article is a great example of how Community content can interact and live symbiotically with Adobe Help. We've linked directly to David's piece from our own customization pages for the Spry Accordion, Tabbed Panels, and Collapsible Panels widgets:
    Customize the Accordion widget
    Customize the Tabbed Panels widget
    Customize the Collapsible Panels widget
    Thanks a lot to David for hammering out this article.
    If you're interested in publishing Community articles of your own, you can download the Community Publishing AIR application and get right to work!

    The borders you see, are called outline, its a accesiblity feature of the browsers,
    Actually called 'focus' lines  :-)
    Here's an article about the Bluefocus lines seen in Safari.
    http://www.brunobergher.com/blog/2009/01/19/safaris-blue-focus-lines/
    Without creating a Spry widget myself right now to test, but I'm sure thata there is a 'focus' rule in the css...
    trying the
    {outline:none;}
    on that rule.

  • Changing color for data in sql developer

    I have recently seen some one have modified the setting in SQL developer to show certain color for the cells that have null values. Couldn't find where to set that property. Does anyone know how to default a color for a cell with null values in SQL developer?
    -app

    Go to Tools|Preferences|Database|Advanced. There is an option to set the null value background color.
    Ashley
    SQL Developer Team

  • Change Color of Dates in Calendar

    This is a follow-up question to the following thread: http://discussions.apple.com/thread.jspa?threadID=1175451&tstart=208
    The original question from that thread was never answered and I was having the same problem.
    Some of the big number dates in my calendar are red and some are black (those with events are red), but I want all of the numbered dates in the calendar to be the same color. In iPhoto06 I was able to fix this by making the font color red for all of the dates, but I cannot figure out how to do the same in iPhoto08. How do I fix this? Thanks
    Message was edited by: Apples&Oranges

    I asked this question in my local Apple store and was told that I would have to start my calender again without importing events. Not the answer I wanted!

  • Accordion panel-change color to gradient?

    Hi,
    I have a question regarding designing the accordion tabs.
    I made an accordion panel on our website, however I found the tabs boring just to be plain gray. Does anybody know how to make the tabs background to be gradient? Thank you so much for your answer! Agi

    Hi
    You will have to find where the background-color is defined in your css file and replace this with either the css3/IEFilter for gradients or a background-image.
    For css3/IEFilter background code see - http://www.pziecina.com/design/turorial_demos/background_gradients.php.
    PZ

  • Display as Text page items - How to change color based on Value

    Hi,
    I have a bunch of page items that I would like to display in red if they contain a minus "-" sign. My guess is that this can be done with a template. Right now they are using the Optional Label with Help template. How might I elegantly specify to display a red font if the text contains a minus sign?
    I have done this before with report regions which include conditions and I just tagged a condition to a column template and I am looking to do something similar.
    Thanks!

    You haven't had a response... I was wondering if you could answer the question I posed of where are the "Display As" templates?
    It seems that there is nothing on the forum or WEB about them. They must be in a CSS sheet somewhere, but I don't even have access to those folders at work.
    I exported a "theme" and started to look through the sql code that created the CSS file (at least that is what I think it does) but it is about 170k and it is slow reading... I have tried searching on several key words but no luck yet.
    I appreciate any insights you have. It seems to me that the display as templates would provide some real cool features...
    turn negative numbers red
    gray out non-updateable fields
    The look and feel that would meet a design standard for a specific company...
    Best of luck,
    Sam

  • Why Doesn't Query Return Date Values On Eval Table?

    Using Oracle 11.2.0.1 with XMLType Secure File Table named Eval.
    An interesting situation is occurring when attempting to query. A couple of things are going on.
    These queries do not have registered schemas.
    1. This query works fine
    SELECT xmlcast(xmlquery('declare default element namespace "http://www.cigna.com/acme/domains/eval/2010/03";
    declare namespace ns7="http://www.cigna.com/acme/domains/derived/fact/2010/03";
    $p/eval/derivedFacts/ns7:derivedFact/ns7:defId' passing e.object_value AS "p" RETURNING CONTENT)
    AS varchar2(100)) "Definition ID"
    FROM eval e;When adding a condition in the query to get defId=52657, get all nulls - even though this record exists - see sample data below.
    SELECT xmlcast(xmlquery('declare default element namespace "http://www.cigna.com/acme/domains/eval/2010/03";
    declare namespace ns7="http://www.cigna.com/acme/domains/derived/fact/2010/03";
    $p/eval/derivedFacts/ns7:derivedFact[/ns7:defId=888]/ns7:defId' passing e.object_value AS "p" RETURNING CONTENT)
    AS varchar2(100)) "Definition ID"
    FROM eval e;
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?><eval createdById="1957" acmeMemberId="3df55bd8-b3a6-4ba3-85e7-e8a188b7b4ed" category="external" eval_dt="2012-02-11T23:45:10.266Z" evalId="876d4035-aaf9-4f09-ae40-43498ec4973b" xmlns="http://www.cigna.com/acme/domains/eval/2010/03" xmlns:ns2="http://www.cigna.com/acme/domains/derived/fact/2010/03" xmlns:ns3="http://www.cigna.com/acme/domains/common/2010/03">
       <derivedFacts>
          <ns2:derivedFact>
             <ns2:defId>52657</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52657:1</ns2:defUrn>
             <ns2:factSource>CCDR Member</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>boolean</ns2:type>
                <ns2:value>true</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>52600</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52600:2</ns2:defUrn>
             <ns2:factSource>CCDR Member</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>string</ns2:type>
                <ns2:value>null</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>52599</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52599:1</ns2:defUrn>
             <ns2:factSource>CCDR Member</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>string</ns2:type>
                <ns2:value>INT</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>51400</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:51400:1</ns2:defUrn>
             <ns2:factSource>CCDR Member</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>integer</ns2:type>
                <ns2:value>34</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>52177</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52177:3</ns2:defUrn>
             <ns2:factSource>CCDR Member</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>string</ns2:type>
                <ns2:value>null</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>52075</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52075:1</ns2:defUrn>
             <ns2:factSource>CCDR Member</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>string</ns2:type>
                <ns2:value>M</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>51391</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:51391:1</ns2:defUrn>
             <ns2:factSource>CCDR Member</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>boolean</ns2:type>
                <ns2:value>true</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>51473</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:51473:1</ns2:defUrn>
             <ns2:factSource>CCDR Product</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>date</ns2:type>
                <ns2:value>2011-01-01</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>51474</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:51474:1</ns2:defUrn>
             <ns2:factSource>CCDR Product</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>date</ns2:type>
                <ns2:value>9999-12-31</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>52151</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52151:3</ns2:defUrn>
             <ns2:factSource>CCDR Product</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>boolean</ns2:type>
                <ns2:value>true</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>51048</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:51048:5</ns2:defUrn>
             <ns2:factSource>CCDR ProfileFact</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>boolean</ns2:type>
                <ns2:value>true</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
          <ns2:derivedFact>
             <ns2:defId>60380</ns2:defId>
             <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:60380:1</ns2:defUrn>
             <ns2:factSource>CCDR ProfileFact</ns2:factSource>
             <ns2:origInferred_dt>2012-02-11T23:45:10.266Z</ns2:origInferred_dt>
             <ns2:factValue>
                <ns2:type>boolean</ns2:type>
                <ns2:value>true</ns2:value>
             </ns2:factValue>
          </ns2:derivedFact>
       </derivedFacts>
    </eval>Seem to be missing something conceptually, as to why this is not working.
    2. When replacing defId with origInferred_dt and adjust for the datatype; the query returns all nulls
    SELECT xmlcast(xmlquery('declare default element namespace "http://www.cigna.com/acme/domains/eval/2010/03";
    declare namespace ns7="http://www.cigna.com/acme/domains/derived/fact/2010/03";
    $p/eval/derivedFacts/ns7:derivedFact/ns7:origInferred_dt' passing e.object_value AS "p" RETURNING CONTENT)
    AS TIMESTAMP WITH TIME ZONE) "Original Inferred Date"
    FROM croutreach.eval e;Same here, seem to be missing something conceptually...
    Ultimately hoping to get this query to correctly work:
    SELECT xmlcast(xmlquery('declare default element namespace "http://www.cigna.com/acme/domains/eval/2010/03";
    declare namespace ns7="http://www.cigna.com/acme/domains/derived/fact/2010/03";
    $p/eval/derivedFacts/ns7:derivedFact[/ns7:defId=52657]/ns7:origInferred_dt' passing e.object_value AS "p" RETURNING CONTENT)
    AS TIMESTAMP WITH TIME ZONE) "Original Inferred Date"
    FROM croutreach.eval e;Any assistance would be much appreciated to say the least! :)
    Regards,
    Rick Blanchard

    Hi Rick,
    Ultimately hoping to get this query to correctly work:
    SELECT xmlcast(xmlquery('declare default element namespace "http://www.cigna.com/acme/domains/eval/2010/03";
    declare namespace ns7="http://www.cigna.com/acme/domains/derived/fact/2010/03";
    $p/eval/derivedFacts/ns7:derivedFact[/ns7:defId=52657]/ns7:origInferred_dt' passing e.object_value AS "p" RETURNING CONTENT)
    AS TIMESTAMP WITH TIME ZONE) "Original Inferred Date"
    FROM croutreach.eval e;
    Remove the initial slash in the predicate [ns7:defId=...] :
    xmlcast(
      xmlquery(
        'declare default element namespace "http://www.cigna.com/acme/domains/eval/2010/03"; (::)
         declare namespace ns7="http://www.cigna.com/acme/domains/derived/fact/2010/03"; (::)
         $p/eval/derivedFacts/ns7:derivedFact[ns7:defId=52657]/ns7:origInferred_dt'
         passing e.object_value AS "p"
         RETURNING CONTENT
      AS TIMESTAMP WITH TIME ZONE
    ) "Original Inferred Date"

  • Track Changes colors not working when story contains table

    Can anyone duplicate this problem/bug, or let me know if it is just my machine?
    Steps to reproduce
    Make sure your Edit > Preferences > Story Editor has non-black text colors defined for Added Text, Deleted Text, and Moved Text.
    Create document, and draw a text box
    Inside the text box, Right-click > Fill with Placeholder Text
    With the cursor in the text box, turn on Track Changes and Show Changes from the Track Changes pallette:
    Open the Story Editor with Ctrl/Cmd-Y
    Cut/paste, delete, and insert some text.
    Confirm colors appear in Story Editor as defined in step 1:
    Now insert a table anywhere in the story. For me, all non-black text coloring (bg stays fine) disappears:
    Is this an InDesign bug, or something I'm experiencing on my own machine? I've been able to duplicate the issue in InDesign CS6, InDesign CC and InCopy CC on my Win7 Pro 64-bit machine.

    I'd recommend filing a bug report here to make sure it gets reported:
    Adobe - Feature Request/Bug Report Form

  • Changing to comma separated values from a table

    Hi Gurus
    I have a column called ID and second column duplicatesID. So for each ID I can have more than one Duplicate ID.
    I want to have comma separated for values of Dup IDs for each ID.
    so
    ID | DuplicateIDs
    1 | 10501
    1 | 2010
    2 | 103
    2 | 109856
    2 | 1245
    result wanted is
    ID | DupsIDs
    1 | 10501 , 2010
    2 | 103,109856, 1245
    regards,
    ebro

    My preferred way is this
    SELECT ID,
    STUFF((SELECT ',' + CAST( DuplicateIDs AS varchar(10)) FROM table WHERE ID = t.ID FOR XML PATH(''),TYPE).value('.','varchar(max)'),1,1,'') AS DupsIDs
    FROM (SELECT DISTINCT ID FROM Table)t
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Unable to change the order quantity value during save of sales order

    Hi Experts,
    There is a need to change the order quantity value, based on some conditions, when pressed 'ENTER' or during 'SAVE' of the sales order (VA01, VA02).
    We are trying to change the order quantity value (KWMENG) in table XVBAP in the subroutines userexit_field_modification, userexit_save_document and userexit_save_document_prepare of the user exit 'MV45AFZZ'. But the change is not replicated to field on GUI.
    The order quantity value can be changed in subroutine 'userexit_move_field_to_vbap', but the subroutine is not getting triggered when user changes only the order quantity on screen.
    Please help us in resolving this issue.
    Regards,
    Santosh

    Thanks for your time guys. The issue is resolved.
    SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
    There are two ways of resolving the issue.
    1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
    2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.
    Edited by: Santosh Kacham on Nov 11, 2011 6:37 AM

Maybe you are looking for

  • System Error in creating a view.

    Hello Friends, I am getting the following error, when I create a view in a component. Service cannot be reached What has happened? URL http://sapdev01:8001/sap/bc/wdvd call was terminated because the corresponding service is not available. Note The t

  • Default directory for file-upload in web.xml

    Hi, Does any one know how to specify a relative path for the temporary directory in the web.xml file. In the web.xml file under the jato_MultipartFormFilter filter I tried to change the name of the directory so that it reflects a relative path but it

  • Fixing major wrinkles

    Dear All or Anyone I shot a great portrait of my Great Aunt. The problem is that, at 93 she has some very deep wrinkles.  It is a in your face close up,, I want to tame it and reduce the dark shadow from the wrinkles. Healing brush tools, blur, conte

  • Windows SharePoint Services Connector for WebDAV is now available

    The Windows SharePoint Services Connector for WebDAV is now available for download as described in my <a href="https://weblogs.sdn.sap.com/pub/wlg/4128">weblog</a>.

  • Mouse stops working after being left alone

    My issue is: If I don't use my mouse for an extended period of time (especially if afk, happenes when at the computer too though) it stops working and I need to replug it for it to work, the time seems to range from 2 seconds to half an hour or more