Display the values in a list in a certain way

Hello

I'm looking for a way to display the values in a list by the first value by a slash and the rest with an indentation.

In other words in this way:

/value

Value1

value2

value3

etc...

Please see the attachment for a better reference where data are received and then filled to the window list.

Thanks for your comments

Thanks guys,.

I endend up doing this:

If (i == 0)
{
sprintf (current_log_view, "/ %s", cnfg_display_db [i] "");
}
on the other
{
sprintf (current_log_view, "%s", cnfg_display_db [i]);
}
SetCtrlVal (log_panel, LOG_LOG_TB, cnfg_display_db [i]);
                        
                        
InsertListItem (dir_list_panel, DIR_LIST_RETR_LIST, current_log_view, i, 0);

and it works very well!

Thanks again

Tags: NI Software

Similar Questions

  • Display the value in the selection list

    Hi all
    Any body know how to get the text to display selection list in another text field? Suite of java script displays the value no text, I need another way around. I don't want to change the selection list that the user needs to see the text value.

    in the HTML section.
    < script language = "JavaScript" type = "text/javascript" >
    int f_getText (pThis, pThat) {}
    var enter_val = pThis;
    var return_val = pThat;
    {
    gReturn = document.getElementById ("enter_val") .value;
    {html_GetElement (return_val) .value = gReturn.toUpperCase ()}
    }
    }
    < /script >
    >

    in the HTML form element attributes.
    onBlur = "javascript:f_getText('P40_LOC_ID','P40_LOCATION')";
    "" Thank you

    Pascal M

    Change your JS function

    function f_getText (pThis, pThat){
    
    var  sel=$x(pThis);
    $x(pThat).value= sel.options[sel.selectedIndex].text
    
    }
    

    CITY

    Published by: city has 8 November 2008 17:24

  • Need help displaying the value of field in another!

    I have a problem, I'm sure is simple but I can't understand it.

    I would like to create a field that displays the value of a field point selecteed in drop down. For example, I created a drop down menu which has 3 times that I have assigned values to each:

    Items in drop-down list

    point: Unlimited time export assigned value: 4 000,00

    point: 8-hours coverage export value assigned: 3,000.00

    point: 5 hours Covrage export value assigned: 2,000.00

    This drop-down list is named "CoverageTime".

    I want to create a text called 'Price' field that will display the value of the selected 'CoverageTime' element drop-down list.

    For example, if I chose "Unlimited" (which I have highlighted as 4,000.00) in the drop-down list, the 'Price' of text field should display the value of 'CoverageTime' of 4 000,00.

    As you can see in my screenshot, I have selected ' Unlimted Time'. The value that I put to this element from the drop-down list is 4,000.00. But the price text field does not the value of the element "Unlimited time", selected in the drop-down list.

    How to make this happen? (Sorry for the picture on the side)



    I'm not sure what you mean about #1 (there is nowhere where to put the code in the tab Options), but it's okay because the second is on the right track. But to set the value of the field, assign anything you want event.value. So the correct code for the custom script to calculate the price of the text field:

    The value of this field for the price of the value selected from the drop-down list

    Event.Value = getField("CoverageTime").value;

  • How to reset the value of a list of entry of null values

    Hello

    Jdev 12.1.3.0

    How to reset the value of a list of entry of null values

    Thank you

    AR

    Place this code in your ViewRowImpl (base) class and use it when you need to reset _all attributes applied by LOV

    @Cvele: in fact, this will happen "by design" when you set the attribute which has attached lov to null, so there is no need of additional code.

    See also this blog: binary: prevent the execution of query unwanted in British Colombia ADF when used in Non - UI applications

    My previous answer is more related to this approach:

    DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding iterator = bindings.findIteratorBinding("IteratorName");
    Row r = iterator.getCurrentRow();
    r.setAttribute("SomeAttrib", null);
    

    Dario

  • How to display the value of the variable for bottom of pl/sql

    How to display the value of the variable for bottom of pl/sql

    declare

    V_1 number: = 10;

    V_2 number: = 20;

    V_3 number: = 30;

    v_4 number: = 40;

    v_5 number: = 50;

    test varchar2 (100);

    Start

    I'm in 1.5

    loop

    test: = "v_" | I have;

    dbms_output.put_line(i||) e > ' | test);

    end loop;

    end;

    /

    How to get below output:

    1 > v_1

    2 > v_2

    3 > v_3

    4 > v_4

    5 > v_5

    But I want to output of

    1 > 10

    2 > 20

    3 > 30

    4 > 40

    5 > 50

    Hello

    You cannot reference variables as you did and get the value of the variable. Use pretty collection.

    set serveroutput on size 2000
    declare
      type      number_table is table of number;
      numbers   number_table := number_table(10, 20, 30, 40, 50);
    begin
      for i in numbers.first .. numbers.last
      loop
        dbms_output.put_line(i || '->' || numbers(i));
      end loop;
    end;
    /
    
    anonymous block completed
    1->10
    2->20
    3->30
    4->40
    5->50
    

    See the Collections of PL/SQL and Records http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/composites.htm#LNPLS005

  • How to display the value of the column

    Oracle 10g on Linux

    I want to display the value of the id column in the table of www if count (distinct id) is 1. The following query is fine except that it does not display the value of the column ID help, please.
    SELECT count(distinct id)
                   FROM www c
                  WHERE C.x_code IN (SELECT D.x_code
                                                     FROM www_app d
                                                    WHERE d.y_code = '1151299386')
                  having count(distinct id) = 1                                                

    I think you can use MAX in this case

    SELECT max(id)
                   FROM www c
                  WHERE C.x_code IN (SELECT D.x_code
                                                     FROM www_app d
                                                    WHERE d.y_code = '1151299386')
                  having count(distinct id) = 1
    
  • Display the values of the Page element in HTML table

    Hi all

    could you please help me with the below? I want to have a table in the HTML area and to display in the table of elements of the Page of the page.

    I got the code like this:
    {
    < table >
    < tr > < td > & P1_ECEMEA_ASSISTANCE < table > < /tr >
    < tr > < td > & P1_ECEMEA_WIP < table > < /tr >
    < /table >
    }
    It shows the element of the Page names in the form of text, not the values.

    However, this code without the tags table:
    {
    ECEMEA request for Assistance of the CQT: & P1_ECEMEA_ASSISTANCE.
    ECEMEA CQT Work in Progress: & P1_ECEMEA_WIP.
    }
    Works and Page element values are displayed.

    Is it possible to display the values of the Page element in the HTML table at all or should I use a different method to show the values in a table? The above is only an excerpt of the code. I need to display about 30 items in Page, put in shape in a table with headers.

    Please let me know what kind of region is the best to use, or if I have to use only a few symbols of escape in the table code...

    Thank you and best regards,

    Vladimir

    Vladimir,

    Looks like you're missing the period after the substitution variables.

    {
    
    &P1_ECEMEA_ASSISTANCE.
    &P1_ECEMEA_WIP.
    }

    -D.

  • Display the values of variables

    I'm working on a Captivate 5 project in which the values of the variables are assigned and then reassigned. Is it possible to display the value of a variable in a text box or other window to ensure that the value changes? Thank you.

    Darin

    Hello David,.

    It's the way I am especially debugging advanced actions by inserting the variables used in a text of the legend Rick indicates. A long time ago that I wrote two articles on the basic use of variables, perhaps reading could specify:

    Use the power of variables without advanced actions

    Unleash the power of variables with advanced actions

    CAUTION: sometimes the update does not appear immediately. In another thread, I explained how you can refresh the contents of the enhanced TextArea widget that contains a variable that is filled with another widget on the same blade.

    Lilybiri

  • display the value zero

    The first query shows that there is no amount present in the warehouse
    SQL>  select sum(received_qty) - sum(transact_qty) - sum(transit_qty) from ship_1 where matid='52616
    ' and placefrom='Jeddah MC';
    
    SUM(RECEIVED_QTY)-SUM(TRANSACT_QTY)-SUM(TRANSIT_QTY)
    ----------------------------------------------------
    The second query shows the warehouse got about 35 pieces of a specific material.
    SQL> select  sum(received_qty) - sum(transact_qty) - sum(transit_qty) from ship_1 where matid='8521'
     and placefrom='Central Store';
    
    SUM(RECEIVED_QTY)-SUM(TRANSACT_QTY)-SUM(TRANSIT_QTY)
    ----------------------------------------------------
                                                      35
    In the form for the first query, I want to display the value 0 (zero), how this can be done...?

    Hello

    Using NVL as

    select  NVL (sum(received_qty) ,0) - NVL (sum(transact_qty),0) - NVL (sum(transit_qty),0) from ship_1 where matid='52616
    ' and placefrom='Jeddah MC';
     
    

    Kind regards

    Abdetu...

  • Why HBox does not display the value of the label?

    I try to display the value of language in HBox (red cloth).

    < mx:HBox label = "Tax Code" width = "100 percent" height = "100%" >

    < mx:VBox autoLayout = "true" >

    < mx:HBox label = "tax detailsborderStyle""" = "solid" borderColor = "#000000" ToolTip = "Tax Details" textAlign = "center" > "

    < mx:Form width = "100%" height = "90%" >

    < mx:FormItem label = tax "Registered(Y/N)" direction = "horizontal" >

    < mx:RadioButtonGroup id = "rbgCreditTaxDetails" / >

    < mx:RadioButton label = "Yes" groupName = "rbgCreditTaxDetails" / >

    < mx:RadioButton label = "" groupName = "rbgCreditTaxDetails" / >

    < / mx:FormItem >

    < mx:DataGrid dataProvider = "{status}" >

    < mx:columns >

    < mx:DataGridColumn headerText = "TaxCode" dataField = "status" / >

    < mx:DataGridColumn headerText = "tax registration No." dataField = "description" / >

    < / mx:columns >

    < / mx:DataGrid >

    < / mx:Form >

    < / mx:HBox >

    < / mx:VBox >

    < / mx:HBox >

    Hello

    This tag will be useful when you add your HBox in a TabNavigator. In tabs label will indicate.

    Hope this helps

    Rush me

  • How to display the values of the Parent form in the form of child

    Hello


    I have the order Page and Page element


    In the order Page If I select any item and click submit, it should open the article Page and results should display in advance table region. In my article page I have region of header (default double) with 3 fields (dummy) as

    Agenda
    Description
    org

    Now my question is, I need to display the value of the item in the item Page header area in the column of the item that I was selecting in the order Page.

    I have a prescription 100 point A, B, C, I select B and click on submit it should open on the Articles page and article Page, I have a column called Item and value B sholud be fulfilled.



    Thank you
    Mahesh

    OAMessageTextInputBean oa = (OAMessageTextInputBean) webBean.findChildRecursive ("ItemNo");
    oa.setAttributeValue (SItemNo);

    There is no such method as setAttributeValue for UI beans, this method is for VO, that is to say if you take a VO and VO a method object to set its attribute.

    Bean of the user interface, you will need to use method below,

    OAMessageTextInputBean oa = (OAMessageTextInputBean)webBean.findChildRecursive("ItemNo");
    oa.setValue(pageContext,SItemNo);
    

    Thank you
    AJ

  • Display the value of the element in the HTML area

    Is there a way to display the value of an element within an HTML reigion? I know below is not the syntax that is appropriate, but there must be a way to call for the value of an element to display in my HTML code.
    <!--
    < body >
    < p >: P1_ITEM < /p >
    < / body >
    ->
    Published by: dsn0wman on August 31, 2008 12:58

    Published by: dsn0wman on August 31, 2008 12:59

    You can use the following syntax in the header, html body, or the footor in your area:

    & P1_ITEM.

    And commercial front and end point are needed.

    If you want to format, you can use the following

    < span style = "make-weight: bold;" "color: darkblue" > & P1_ITEM. </span >

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

  • Javascript-based dynamic action and display the value of (!) from the selection list

    Hello

    I'm not a jQuery guru (yet).
    Can someone show me how to turn on or off an ITEM on a form based on the value display of a selection list (usually I have dynamic lists, so I don't 'know' even internal values)

    I created a simple demo in which you can (if you want to) show me how it works.

    Workspace: 6POOLRULES
    User: demo01
    Password: demo
    Application: 30851 (Drone)

    The idea is to
    * Disable/hide the "Id other Description" If the ' Id Type (display value!) is 'Passport' or 'license '.
    * activate/display the Description of the 'other' Id if the ' Id Type (display value!) is "other".


    I think that it should be dynamic action based on javascript/jQuery. But what would this jQuery selector should look like?

    Published by: bveoracle on March 29, 2012 07:28

    Published by: bveoracle on March 29, 2012 07:30

    Hello

    OK, I changed the dynamic action to use Jquery and get text from the value. The only thing I changed is in the section WHEN.

    Enjoy.

  • Display the values of the 2D stacked column chart

    Hello

    I use the following sql which shows the percententage of errors in a month
    SELECT NULL
    ,      TO_CHAR(MA.DATE_LOGG,'Mon'),
    sum(decode(el.error_type,'On',1,0)) "Ons", 
    sum(decode(el.error_type,'Pa',1,0)) "Prt",
    sum(decode(el.error_type,'No D',1,0)) "No D",
    sum(decode(el.error_type,'Sys',1,0)) "Sys",
    sum(decode(el.error_type,'Oth',1,0)) "Oth"
    FROM
           table1 MA, table2 EL, table3 CR
           WHERE
                     MA.ERROR = EL.ERROR
           AND       MA.ERROR IS NOT NULL
           AND       MA.COUNTRY = CR.COUNTRY_CODE         
          AND       TO_CHAR(DATE_LOGG,'YYYY') = nvl(:P5_FILTER,to_char(sysdate,'YYYY'))
          AND       CR.REGION_CODE = NVL(:P5_REGION,CR.REGION_CODE)
    GROUP BY TO_CHAR(MA.DATE_LOGG,'Mon'),  trunc(ma.date_logg, 'Month')
    ORDER BY  trunc(ma.date_logg, 'Month')
    Now the values are displayed correctly, however, the stacked bar displays the real percentage value, for example 60% on stacked bar. When we mouse over the bar it shows "No D", Sys, Oth. Is there a way to display permanently type Decode and percentages?

    Apex 4.1 / 11g

    Thank you
    Sun

    Hi Sun,.

    If you would like to add the series name in the values displayed in the bar of the items themselves, then you will need to customize the XML graph and update the tag to embed {% SeriesName}. I've added an example for my sample application, indicating where the XML code must be changed: http://apex.oracle.com/pls/apex/f?p=36648:90. For a complete list of available AnyChart keywords, such as % SeriesName, please see the AnyChart online documentation: http://anychart.com/products/anychart/docs/users-guide/label-text-formatting.html?fromtree.

    I hope this helps.
    Kind regards
    Hilary

  • Help to display the values

    Hi all

    I have a column named users.

    It is varchar2 datatype column.


    In this column, the values are recorded as follows:
    sno           users
    -----         ---------
    1             poo12,poo13,poo14,poo45,pooo34,pooo45    --> this users in single column only  
    2             roo12,r0023,r0089,r0023424
    can someone tell me how to display user names in the item [may be the list item or a text element].

    What is the way to do it.

    Note: the user names spilited comma.

    Expected results:

    If I want users of sno then the list item should display values
    poo12,
    poo13,
    poo14,
    pooo34,
    pooo45

    Please help me

    Published by: SB 14 Sep, 2011 04:48

    We cannot go on like this. "... I did, but it failed... "without any other detail no aid at all to find where in your code, something is not. I have no crystal ball, while I can't guess what's wrong until you decide to give the code you've tried.

    François

Maybe you are looking for

  • Go dv6700: disable the system password bypass

    Disabling the system error 15603. Ask for a password after three attempts, an error message is displayed. How should I do? Thank you!

  • When I'm on a website, Firefox is very sporadic regarding what I can click on.

    Sometimes videos do not play when I press play and when I can finally play, I can't pause them but a few tries later, it will work. I'm on a mac and I noticed that the cursor will remain like an arrow, when I try to click on videos and links and it w

  • Notifier / while loop question

    I have a question that has probably a simple answer, but which has been eluding me for a few days.  I have two loops in parallel: one that sends commands to a controller embedded on the series and one who reads the data returned by the controller.  I

  • Analyze settings grayed out out on hp mfp dw 477

    I configured the printer to a shared network folder and everything works fine, but when I go to the settings real scanner on the printer itself, I can't change the name of the file, it is grayed out and the settings are grayed out, so, it scans only

  • DISK MANAGMENT I NEED HELP

    I wanted to delete some files to my sd card. Deletion was not available because the files have been write protected. This is what I found and need help; This sd card in my computer as drive H: properties show that the - STORAGE THAWED and the FILE SY