Text in the drop-down list used in the report

Hello

I want to use in my report, the text of the index selected in the combobox. Unfortunately, the variable for a ComboBox is L1, not as text T1. So, when I want to insert text in the report, I cannot write @L1 @ because it appears in the index, not the text.

For example

ComboBox1

0 Red 1 green 2 yellow

and if I choose 1. Green

I want to put 'green' as a text in my report. I can't call as a variable because the variable L1 is not text.

How can I do this? Please

Hi andrea11hr,

You can use a table for the exchange of information. Please take a look at the attached example

Greetings

Walter

Tags: NI Software

Similar Questions

  • How do I wrap text in a drop-down list using JavaScript?

    How do I wrap text in a drop-down list using JavaScript?

    The field name must be in quotes in the first line.

  • How to enlarge the toolbar and all the fonts in the drop-down lists using HDMI monitor to print is to small.

    Now, I use Windows 7 and a HDMI monitor. Print them out and the icons on the toolbar Firefox and drop-down lists is very low. How can I increase the police & the size of the icons on the toolbar and to all dropdowns?
    Thank you!

    This extension allows to adjust the font size for the user interface:

  • How to fill out a drop-down list on the selection of items in another drop-down list using adf 12.1.3

    Hello

    I have a page that has the load drop-down lists and a "submit" button. The first drop down menu got filled using query based VO (IE read only VO) for LOV. The requirement is as below

    -on the selection of an element any in the first drop-down list, the user must fill the second dropdown.

    -Once the second dropdown is completed, the user can select element in the second drop-down list.

    -capture the second drop down menu items value selected in the method of action of the click on the submit button.

    Any help in this scenario will be useful.

    ---

    Rabindranath

    Sameh salvation,

    Thanks for the reply. Your code

    1. DCIteratorBinding iter is BindingContext.getCurrent () .getCurrentBindingsEntry () .get ("iteratorNameInPageDef") (DCIteratorBinding);.
    2. Object secondDropdownValue = iter.getCurrentRow () .getAttribute ("AttributeName");  has been really helpful to get the selected value.

    Thank you very much.

    ---

    Rabindranath

  • Multiple drop-down lists using SetFieldValues mixture fields.

    I have 2 drop-down lists (Dropdown1 & Dropdown2). They are identicle except for their domain names and of their first element option.  When the user chooses an option, I want a predetermined value to be sent to a field of text (FeeAmountRow1 & FeeAmountRow2).  Similar to a purchase order using a drop down.

    By trial and error what I know is that somewhere my scripts are cross.  When I try the shape as the script below, the two drop-down lists send values in the same text instead of their respective field.  Removal of code in each menu drop-down makes the job of other fines.

    I made each of them 'value selected to validate immediately '.  I added the following Scripts of striking personalized to their format.

    Dropdown1 - text if field resets the default drop-down list option is selected, this feature works very well.

    if (event.willCommit) {
        if (event.value == "Select Day 1 Service Type") this.resetForm(["FeeAmountRow1"]);
        else SetFieldValues(event.value);
    }
    

    Dropdown2

    if (event.willCommit) {
        if (event.value == "Select Day 2 Service Type") this.resetForm(["FeeAmountRow2"]);
        else SetFieldValues(event.value);
    }
    

    I use the following script:

    // Dropdown option items data 
    var saData = {
        "Speaking Engagement": {
            fee: "1360.00"
        },
            "Field Ride Consultation": {
            fee: "1700.00"
        },
            "Speaker's Training": {
            fee: "1500.00"
        }
    };
    
    function SetFieldValues(saName) {
        // Populate fields with values
        this.getField("FeeAmountRow1").value = saData[saName].fee;
        this.getField("FeeAmountRow2").value = saData[saName].fee;
    }
    

    In the SetFieldValues function, it is exactly what the code does. He defined two different fields to the same value. Create a separate for each field feature individual rtext, or pass the name of the field as a parameter. For example:

    function SetFieldValues(f_name, saName) {
        // Populate fields with values
        this.getField(f_name).value = saData[saName].fee;
    }

    New script from typo to dropdown2
    if (event.willCommit) {
        if (event.value == "Select Day 2 Service Type") this.resetForm(["FeeAmountRow2"]);
        else SetFieldValues("FeeAmountRow2", event.value);
    }

  • How can I right - justify text in a drop-down list field in Acrobat 11?

    I have a literal that we want to include as a prefix in front of a field of account number.  Users wanted an option to use a No.:o account r
    Account number:, so I was going to justify the choices in the right drop-down selections but I do not see where to change the alignment propterty.  I used spaces before the non-literal account, but it would be better if I could right - justify the selections in the drop-down list box.

    Please let me know if there is a way to do it.

    Thank you!!!

    What exact version number? Look under help - about Adobe Acrobat.

    I also use Pro XI and that's what I see:

    I just thought of something, you should try... Look under Edit - Preferences - language and make sure that "Enable right-to-left language options" is checked. Maybe cause this option to appear.

  • How to choose a specific value in a drop-down list using javascript

    Hello

    I'm looking for a way to select a specific value in a drop-down list (the first value) using javascript? How would I do that? Thank you in advance.

    Here's how you can select the first item without having to know what it is:

    Set the value of the drop-down list to the first element cb1

    var f = getField ("cb1");

    var val = f.getItemAt (0, true);

    If (val) f.value = val;

    Change 0 to a different index if desired, or use-1 for the last item in the list. More information for the field getItemAt method is in the Acrobat JavaScript documentation.

  • To do text in a drop-down list

    Hello

    I have a drop down menu where I already use the value field in another place in the form. But now I need to use the text of the item in the e-mail subject line that I sent you.

    I can get the value, okay. How can I get the text?

    Thank you

    MDawn

    Please go through this post: http://forums.adobe.com/message/4296217

  • using a drop-down list to power a listview

    I try to get a drop-down list selection (newOption) to fuel a sql query to get more information in a listview. The drop down menu works ok, but the list is empty. My dosent sql query recognize newOption and therefore does not feed listview.

    Please could you help me with the query syntax. Thank you.

    My code is below.  If I replace '+' "' + newOption +" ' with a sql table entry, IE 'the cradle', then the listview works very well.

    import bb.cascades 1.2
    import bb.data 1.0
    import com.apiary.data 1.0

    {Page}
    ID: infoPage

    {Of container
    {Label
    text: "Info Page".
    verticalAlignment: VerticalAlignment.Center
    horizontalAlignment: P
    }

    {Drop-down list
    ID: dropdown
    }

    {To ListView
    ID: apiaryList
    dataModel: dataModel

    listItemComponents:]
    {ListItemComponent}
    type: 'point '.
    {StandardListItem}
    ID: apiaryItem

    Title: ListItemData.apiary_name
    Description: ListItemData.apiary_location
    status: ListItemData.apiary_id
    }
    } / / end of ListItemComponent
    ]

    onTriggered: {}

    }
    }
    attachedObjects:]

    {GroupDataModel}
    ID: dataModel2
    },
    {ComponentDefinition}
    ID: optionFactory
    Option {}
    }
    },
    DataSource {}
    ID: dataSource2
    Source: "sql/hood_apiary.db.

    query: "SELECT * FROM Apiary ORDER BY apiary_name".

    onDataLoaded: {}
    dataModel2.insertList (data);

    Now, this is going to populate the drop-down list while reiterating each
    the query data and adding one by one to the drop-down list
    using the optionFactory component to dynamically add definition
    New Options for the drop-down list
    for (var i = 0; i)< data.length;="">
    {
    Create new Option
    var newOption = optionFactory.createObject)

    Set the text of the Option categoryfield (title of the drop-down list)
    newOption.text = data .apiary_name [i]
    Console.log ("newoption.text =" + newOption.text);

    Add the Option in the drop-down list
    DropDown.Add (newOption);
    }
    }
    },

    {GroupDataModel}
    ID: dataModel
    },
    DataSource {}
    ID: dataSource
    Source: "sql/hood_apiary.db.

    string newOption property
    query: "SELECT * FROM Apiary, hive where apiaries.» [apiary_name] = ' "+ newOption +" ' AND Apiary. [apiary_id] = hive. [apiary_id] AND the hive. [apiary_id] is not null ORDER BY hive_id DESC'
    onDataLoaded: {}
    dataModel.insertList (data);
    }
    }
    ]

    onCreationCompleted: {}
    When the display of the list has been created, load the data into the listview
    and the drop-down list.
    dataSource.load ();
    dataSource2.load ();
    }
    }

    }

    Hello Simon

    Thank you very much for your help, you have solved a problem I had for centuries.

    {Drop-down list
    ID: apiarydropdown
    Title: 'select the Apiary.
    onSelectedIndexChanged: {}
    var dropvalue = apiarydropdown.at ("apiarydropdown.selectedIndex") .text;
    Console.log ("dropvalue has been changed to" + dropvalue);
    Console.log ("selectedIndex was changed to" + selectedIndex);
    dataSource.query = "SELECT * FROM Apiary, hive where apiaries.» [apiary_name] = ' "+ dropvalue +" ' AND Apiary. [apiary_id] = hive. [apiary_id] AND the hive. [apiary_id] is not null ORDER BY hive_id DESC'
    dataModel.clear () / / clears all previous listview view
    dataSource.load () / / load listview
    }
    }

  • Update from the drop-down list on the duration

    Hello, I'm fairly new to Java and Blackberry development.

    I am doing an application with a few editable text fields and drop-down lists. What I want to do is to change the options from the drop-down list (ObjectChoiceField), according to what is written on the text fields, all without pressing a button. Can someone give me a hand here? I thought to use invalidateAll to redraw the field, but I'm not sure.

    Thank you.

    OK, something else, this looks bad for me:

    your having

    unitChoiceField.setChangeListener (editListener);

    But editListener is not defined until after that, so with that statement, you're

    the listener of null changes.

    Put this line after you set your headset to changes.

    Also we say something "does not work", is not very useful.  If please do some debugging and tell us what he does not she should do this, rather than saying that it does not work.  Imagine that you took your car be fixed and told them that it did not work.  Would they be able to fix it?

  • In a drop-down list text wrapping

    Good day all.

    I think it might be a simple answer to this, but, I still find it.

    In a form that I drew, I have a fall to the bottom of the box (in a table cell) where the user can select a number of entries. One of the entries is long for the amount of space for the field.

    I'm trying to understand how to get the text to wrap and the cell to expand. I have place a check mark in the "expand to fit" (under the page layout tab). This seems to work on the 'text' fields (with check allow multiple lines).

    Is there a way to get the text to wrap in a drop-down list?

    Thank you all

    Chomp

    You cannot wrap text in a drop-down list. For items that are larger than the field, you'll get a ToolTip that shows the full value.

    You can adjust the size of the field enter/exit (using the .w property), but you're probably better off just expand the drop-down list.

  • How to fill a text box after selecting a drop down list?

    I have created a form that has a drop-down list with different types of products. After a person chooses a product in the menu I would fill the text box with a description of the product.  I'm a newbie here, but I thought that was far from using JavaScript to do this. But wasn't sure exactly where to put the code and do I have to put it on the text box or drop-down list. Any help would be appreciated Ive been looking everywhere for a week and can find an answer.

    If (xfa.event.newText == "")
    {TextField1.rawValue =""}

    "On your drop-down list by using Java Script on the * change event.

    If you have three items in your list:

    A

    B

    C

    If (xfa.event.newText == "A")
    {TextField1.rawValue = "You chose the letter A"}

    If (xfa.event.newText == "B")
    {TextField1.rawValue = "You chose the letter B"}

    If (xfa.event.newText == "C")
    {TextField1.rawValue = 'You chose the letter C'}

  • Select the string table drop-down list box.

    Hi all

    I want to select the combo box list based on a string in the entry, I don't know how to do this. I have a drop-down list box and the value comes from a database, what I want to do is I want to change the value of the selected box based on the existing value in the database drop-down list. for example, A, B, C D I strings in the drop-down list box, and then in my database, I have a field with the string C, I want to change the C to A. I can't enter the value of C in a string format, but I don't know how to be the first position of the drop-down list box in so the order of channels combo box will be C, A, B, d., the value of C

    Thank you

    Then just write a new array of strings, with the elements of the new agenda, to the "[] strings" - property.

    Either you must code something that allows you to create an array of strings with the elements in the order that you want them to be. If there is a reorganization only, you could do something like:

    -Get the array of strings [] from the drop-down list using a property node box.

    -Find the position of the element you want to place first and use "delete from table", which returns the new array and the element removed.

    -Build a new table 1 d of the deleted item and table remaining. Move to the second combobox Strings [] property of a node property.

  • How to create the drop-down list?

    I tried to find a way to reach this menu drop down animated and I can't.  I'm somewhere between (animation using the accordion panel and the substitution effect the composition).

    Any help would be appreciated.  It is the example of what I'm trying to achieve.

    Retired military community Washington DC | Hawks landing

    Thank you!

    Hello

    You can create the same drop-down list using the ToolTip Widget composition but the only way that you can add on turnover and deployment will be discoloration.

    Please check the attached file. http://adobe.ly/1IxxKfO

    Another alternative is to create a lively border animation and use it in Muse as a file OAM.

    Concerning

    Vivek

  • Design of a PDF form to fill-in the drop-down list

    Design of a PDF form - how we copy the content of the 'text' of a drop-down list box to paste into "boxes" of several drop-down lists for the same shape?

    You can't copy and paste the values of the range of object definition, but you can copy and paste the object in its entirety... who would not do the same?

    Paul

Maybe you are looking for