Display values onto a list in a certain way

Hello,
I am looking for a way to display values onto a list by having the first value with a forward slash and the rest with an indentation.
In other words this way:
                                   /value
                                       value1
                                       value2
                                       value3
                                       etc.....
 Please see the attachment for a better reference of where the data is received and then populated to the window list.
Thanks for your input
LabVIEW Intermediate I level!
Solved!
Go to Solution.
Attachments:
string from the server.txt ‏5 KB

Hello Al,
This section of the code is where I am guessing that I need to include a function to have a kind of tree structure display for the list,
// Extract File name and index
                      for(i=0;i<=UL_1_Header_Block.block_size-HEADER_SZ​;i++)
                          cnfg_database_array[i]=*ptr_mem_index++;
                    Delay(.2);   
                    // determine file name by search for ";" filename delimiter
                    for(i=0;i<UL_2_Header_Block.number_file;i++)
                        cnfg_file_comma_index = FindPattern (cnfg_database_array, cnfg_file_comma_index+1,
                                                      SEARCH_ENTIRE_STRING, ",", FALSE, FALSE);
                        cnfg_file_colon_index = FindPattern (cnfg_database_array, cnfg_file_colon_index+1,
                                                         SEARCH_ENTIRE_STRING,":", FALSE, FALSE);
                        if(i>=MAX_FILE_LIST)
                            fprintf(log_file.Open_fp_main,"%.2d:%.2d:%.2d    DIR DATABASE LIST TOO LONG!\n",
                            ts.tm_hour,ts.tm_min,ts.tm_sec);
                            sprintf(current_log_view,"%.2d:%.2d:%.2d    DIR DATABASE LIST TOO LONG!\n",
                                    ts.tm_hour,ts.tm_min,ts.tm_sec);
                            SetCtrlVal(log_panel, LOG_LOG_TB,current_log_view);
                            break;
                        CopyString (cnfg_display_db[i], 0, cnfg_database_array, cnfg_file_comma_index+1,
                                    (cnfg_file_colon_index-cnfg_file_comma_index)-1);
                        InsertListItem(dir_list_panel,DIR_LIST_RETR_LIST,​i,cnfg_display_db[i],0);
            break;
as you may see on the highlighted lines, is where I am thinking I need to do changes, but not sure how...
LabVIEW Intermediate I level!

Similar Messages

  • Change display value of "select list"

    Hi!
    I have a problem with a select list, I want to change the display value through an own pop up (page 5 of apex application) after I submit in it.
    The select list is based on a sql query:
    select A_NAME display_value, A_ID return_value
    from APPLICATIONS
    where a_application_type='GROUP'
    order by 1
    beside I have an link to open a pop up window:
    ... onClick="window.open ('f?p=&APP_ID.:5:&SESSION.::::', 'newWin',
    'scrollbars=no,status=no,width=500,height=270' ...
    On the pop up site there is a tree and a submit button which close the window and renew the original page:
    javascript:window.opener.location.reload();window.close();
    Through the tree I get the value (Group-ID) which I need.
    When I'm back on page 4 a "before header" renew page process links again on the side 4 and change the value of my select list. Afterwards the values have changed correctly but the display value is still the old one. It only change when i go on an other page of the apex application and come back.
    I don't know why it doesn't change immediately!?
    Thanks ahead

    I have done with a solution just in a nutshell of what u r looking for:
    1.create HTML region.
    Add two items : Select list with redirect(P6_X) and text field(P7_X)
    2. Select list is based on LOV query as :
    select empno d,empno r from emp ;
    Source value is Empno Type:DBcolumn.
    3.The text field Source type : SQL Query .
    Query : select ename from emp where empno = :P6_X
    Now select from the dropdown empno and it will populate the Ename value accordingly based on the query .
    U can have more than one text fields and populate those in the same way.....
    Cheers,
    ROSY

  • List Managers Displays Return Value and Not Display Value

    Hi
    I have created a List Manager (based on a Popup LOV). My lov is as follows:
    SELECT pt.paper_code d, pt.paper_icode r
    FROM uo_sturec.paper_table pt
    WHERE pt.start_year <= 2006
    AND (pt.finish_year >= 2006 OR pt.finish_year = 0)
    AND pt.paper_type = 60
    ORDER BY pt.paper_code
    However, when I select something from the popup, it displays the pt.paper_icode in the field and when I click on Add, the pt.paper_icode is added to the selction box.
    What can I do to make the display value, pt.paper_code appear both in the field and the selection box?
    Kind regards
    Jo

    Hi Scott
    Thank you for your reply. However, I want the return value to be pt.paper_icode, because I'll be using this value to populate another item on the same page. Is there some javascript I could write to just change the display value of the List Manager while preserving its return value?
    Thanks.
    Jo

  • How do you display certain values in a list depending on a tag on a page?

    I have many lists on my site and I would like to create lots of different pages on my site for each customer. Then depending on which customer I am on, I would like the values in all the lists to change. For example if I have a page for 'Custmer A', I would
    like all my lists to only display values for 'Customer A', such as their orders and details. I understand that I could create a different list view for each customer on each lists but since I have so many customers this will take too long to do for my multiple
    lists, especially as I add new customers. Therefore is there a way of tagging a new page with a unique ID and then creating list views for my lists which pickup on the ID tag of the page which then displays the relevant data that contains this ID. This way
    I can duplicate this for new customers, without hvaing to creates 100s of list views. 
    Sorry for making this sounds more complicated than it is!
    Thanks

    If you were on earlier Sharepoint versions, I would have suggested using the Content Query Web Part (CQWP) to display content targeted to the user that is viewing the page. But with Sharepoint 2013, the concept is much more evolved with Managed Navigation
    and new features in CQWP.
    Have a look at the following article for start:
    Sharepoint 2013 CQWP and Managed Navigation
    Thanks, Ransher Singh, MCP, MCTS | Click Vote As Helpful if you think that post is helpful in responding your question click Mark As Answer, if you think that this is your answer for your question.

  • Display and return value in select list.

    hi,
    i want to display the value in select list coming from this quary .
    select student_id from class_record where class_id =:p1_class_id and SECTION =:p1_section
    minus
    select student_id from STUDENT_TYPE_DETAILS where class_id =:p1_class_id and SECTION =:p1_section;
    but i want f_name and last name with student_id .f_name and l_name store in table s_per_det.student is also in that table.
    how can i define display value and return value in this quary using 3rd table s_per_det.
    How can i do this.
    Thanks
    manoj

    Ooh, MINUS.... Can you not use a NOT EXISTS in this case, could have a big effect on the execution plan?
    Something like this perhaps?
    SELECT f_name||' '||l_name,
           stundent_id
    FROM class_record a,
         s_per_det b
    WHERE a.student_id = b.student_id
    AND   a.class_id   = :P1_CLASS_ID
    AND   a.section    = :P1_SECTION
    AND   NOT EXISTS(SELECT 'X'
                     FROM student_type_details c
                     WHERE a.student_id = c.student_id
                     AND   c.class_id = :P1_CLASS_ID
                     AND   c.section = :P1_SECTION)Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Null display value in List of Values

    Hello
    In Page item ---> List of Value ---> Null display value I need to give a different value depending on language
    I tried using an item in the "Null Display Value" e.g. &P1_Display_value.
    This does not work ... I get " &P1_Display_value. " and not the value contained in the item
    Anyone come across this before?
    Thanks
    Pete

    Pete:
    The Query for the LOV could be modified to be something as below.
    Select displayy_val, return_val from lov_table
    union
    select '&P1_DISPLAY_VALUE.',null from dual
    order by 2 nulls firstVarad

  • Display Display value in Red Color in Pop Up List of value Item

    Dear All,
    i have created an Pop up List of Value item.I need to display Display value in Red Color in Pop Up List of value Item.
    What should i pass in HTML Form Element Attributes .I have try using
    style="font-color:red";That code.
    How can i display Display Value in Red Color.
    Thanks

    Is this what you are looking for?
    http://apex.oracle.com/pls/apex/f?p=42778:12
    If so..
    * Go to Shared Components -> Templates -> Select Type as "Popup List of Values"
    * Edit Popup LOV template
    * See the class name being used for div under Result Set section. In My case, its t1PopupBody
    * Under Page Attributes -> Page HTML Head section append following CSS
    <style>.t1PopupBody a{color:red;}</style>* Apply Changes
    If its not working, then inspect the pop-up lov with firebug and update CSS definition accordingly.
    Regards,
    Hari

  • How To Display Value In inputText When List Is Used

    Hello,
    I have a question regarding how to display value from List in a jsf page?
    From a Map, i could display like
    <ice:inputText  id="plantno" value="#{bean.detailedRowData['plantno']}"So if I am using a List instead of Map, how can I refer value in List so that I could display my plantno?
    <ice:inputText  id="plantno" value="#{bean.?????}"Thanks

    Create a backing bean method that fetches the value from the list for you.
    <ice:inputText  id="plantno" value="#{bean.plantNo}"/>
    public class MyFunkyBean {
      private List<String> rowdata;
      public String getPlantNo(){
        return rowdata.get(INDEX_AT_WHICH_THE_PLANTNO_IS_STORED);
    }It really isn't possible to turn the list into a regular bean/entity?

  • Select list display value in javascript function

    Hi All,
    I have a select list in a tabular form having a display value & return value.
    I am using $x(var_name).value or $v(var_name) for retreving return value of the select list in a javascript function.
    Can anyone let me know how can I get the display value of the select list in a javascript function? Im using Apex 3.2
    Thanks & Regards,
    Sandeep

    What if the select list is not an item. Select list I am talking about is in a tabular form.Regardless of how they're generated in APEX, in JavaScript they're all DOM nodes. There are many ways of accessing the node of the required element. Consider the Items for Order... tabular form on page 29 of the Sample Application:
    var productNameLOV = document.wwv_flow.f04[0] // select list containing name of product on first order line
    var productNameLOV = $x("f04_0001") // another way of accessing the same node, using the ID attribute generated by apex_itemWe can see this using the Safari console:
    => productNameLOV = document.wwv_flow.f04[0]
        <select name="f04" id="f04_0001" autocomplete="off">…</select>
    => productNameLOV = $x("f04_0001")
        <select name="f04" id="f04_0001" autocomplete="off">…</select>Once you've got the node&mdash;however you get it&mdash;you then use the methods shown above:
    => i = productNameLOV.selectedIndex
        3
    => productNameLOV.options.text
    "Business Shirt [$50]"
    So it appears you would use:var item = document.wwv_flow.f01[i];
    var selected = item.selectedIndex;
    var selectedOption = item.options[selected].text;
    This is meaningless:...
    var my_var = document.wwv_flow.f01[i].id; // f01 is tabular column of select list
    if ($x(my_var) == 'display_value') //$x(my_var) is having return value, but i need display_value there
    <tt>$x(my_var)</tt> returns a DOM node object, whilst <tt>'display_value'</tt> is a string: they are not comparable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Accessing display values of a select list (or LOV)

    Hi all,
    I was asking myself if it is possible to access the display values of a select list (to be added to a report header and to the Head section of a pdf export),
    and to call them in form of the &xxxxx. notation
    e.g. if &P10_REGION. return the selected value (e.g. 1), I would like to have the corresponding display value (e.g. USA) .
    Kind regards,
    Boris

    Thank you Graham,
    unfortunately I'm a newbie regarding Javascript. Reading the APEX help, I could understand something but not everything.
    I would enter into the page html body the following script
    <script type="text/javascript">
    document.getElementById('P10_hiddenItem').value = document.getElementById('P10_referenceItem').text;
    </script>
    Is this the correct approach?
    how should I then submit the page?
    Thank you,
    Boris

  • Multi-select lists, their return values and showing their display value

    I have a multi select list which is dynamic. The display and return values are pulled from a table where the return value is the Primary Key.
    When people select a few options, the value is stored in session state as 11:12:13 (etc...). From here, I run these numbers through a process which takes a report ID and the multi-select string, and saves individual rows as Report_id, individual multi select value until there are no more multi select values.
    This is great, they're tied in as a foreign key to the LOV lookup table, and they are easily search able.
    I have trouble where I want to list a report's entire multi-select list. I have a function combine the numbers with a : in between them and RTRIM the last one, so I have an identical string to what a multi-select table uses. 11:12:13 (etc..)
    When I assign it to display as an LOV in a report, it just shows the 11:12:13 instead of listing out the values.
    Single number entries, where someone only selected one option in a multi select, display fine.
    Am I doing this wrong?

    Scott - you're right on the money. I did this initially because I thought assigning an LOV display value to a report column would yield the results I wanted.
    I want to do this without referring to the original table... meaning I don't want a function to have to go out and get the names, I'd like my LOV assignment to do it. This saves headache of having to change something in 2 places if it ever changed.
    Am I not going to be able to do this?
    I created a test multi-LOV page, it doesn't work with original(not processed in my function) LOV assignments either, unless you only select one.

  • How to acquire display value of selected item on select list? Or...

    I have a select list generated from a SQL query that I need to get the display value from.
    Ideally, the display value and the submitted value of the select list would have been the same, but I can't seem to get APEX to allow populating a select list's display value and submitted value fields with the same database column.
    If you have any idea how to do either of the above, I'd love to hear from you here!
    Cheers,
    Ben

    you forgot the extra quotes I guess:
    declare
    l_sql VARCHAR2(4000);
    begin
    l_sql := 'SELECT product_name,project_name,information_access_system,dataset_name FROM v_dms_product WHERE product_name = ''' || :P24_CHOOSEPRODUCT || ''' GROUP BY product_name,project_name,information_access_system,dataset_name';
    return l_sql;
    end;

  • Select List Display Value

    Hello All,
    Does anyone know how to make a Select List ReadOnly and display the Display Value not the Return Value when modifying the data? I have made the Select List a Text Field, Text Area, etc.. but then the Return Value is diplayed and not the Display Value. I do not want my end-users to modify the Item but I do want to show them the Display Value. Any ideas and help is appreciated, thanks.

    Hi,
    I kept getting the [] no matter what I did.
    Just realised, though, that the styling would hide valid values as well. D'oh!
    I've been testing something here: [http://apex.oracle.com/pls/otn/f?p=33642:9] Click on a link for an employee on the right to see the data on the left - try ones with and without an entry in the MGR column.
    Originally, P9_MGR was a normal select list, but I have now set it to "Hidden and Protected" and immediately followed it with a new "Display as Text (does not save state") item called P9_MGR_DISPLAY.
    The source of this new item is a SQL query of:
    SELECT NVL(MIN(ENAME),'Unselected')
    FROM EMP
    WHERE EMPNO = :P9_MGRThis will either return an ENAME value if one exists for P9_MGR or 'Unselected'
    Andy

  • Pop-up list manager displaying "return value" instead of "display value"

    Hello,
    I'm using a list manager based on pop-up LOV. When I click on an item on the pop-up window, the window is closed and the return value is displayed in the page list. I would like to have (as expected) the display value otherwise a user who accesses the detail of a record can just see codes (no meaning) and can't understand nothing. The return values should be used just for database storage as expected in a database application environment.
    The behaviour should be like the one of "POPUP Key LOV (display descriptions, return key values)"...where in the textbox I can see the description but I send the key to the database.
    I could use a multislect list too (which allows to display descriptions instead of codes) but in this case another problem arises: if I have lots of items the user has to scroll the list to see which items have been selected.
    Any other solution to allow a user to see (and print) the content of "multiple" fields (descriptions, not codes)?
    I'm using Application Express 2.1.0.00.39
    Thanks a lot for your help.
    Eugenio

    Anyone? Which is the best practice in these cases? Is it not possible to get the value selected displayed in a proper manner when using a "select multiple" fields?
    Thanks for your help.
    Eugenio

  • How to display the display value of a select list

    I want to display the display value instead of the return value of a select list but don't know how to do it, can someone help me?

    When you created the select list item, you are ask to provide a list of values query which can either be a SQL query or a Static List, which both follows the pattern of
    Dispaly;Return.
    Example:
    SQL query -
    select 'Yes' col1, 'Y' col2
    from dual
    Static -
    STATIC:Yes;Y
    which will display 'Yes' but will actually, return 'Y'.
    how did you set your select list item?
    Thanks,
    Marilyn

Maybe you are looking for

  • Problem with project stock valuation class

    Dear All, We have an issue regarding the Revenue Inventory and Capital Inventory. There is a certain balance amount which should be in capital but system is showing in Revenue and vice versa. The reason for this is that when the material was created,

  • How to re-issue a disputed billing doc when mat posting period is closed

    I'm working a client site that has to deal with disputed invoices that come in after the material posting period has been closed. What needs to happen is that the billing document is cancelled (no problem) and this returns the stock (fuel put back in

  • Error opening Georaptor on SQL Developer 1.5

    Hello Everyone, I was just wondering if anyone has been able to use the Georaptor extension (http://georaptor.sourceforge.net) with SQL Dev 1.5? The geoRaptor menus come up, but so far I have not been able to add any "Add Layer" to the Spatial view.

  • Item Group changes

    Hi All. A client has each stock item belonging to a certain group. if he changes the revenue account, or expense account...the change should filter through to the items belonging to that group, right? however he said that some does not..could there b

  • Client returns server not found:rtmp://192.168.10.1:/live when accessed from another pc

    Hi there. Please i have a small LAN of about 8 computers all of which are running windows 7. I have installed FMS and XAMPP webserver on one of the machines. I want to stream live from one PC to all the other PCs on the LAN. I have a webpage with jwp