How Do I Get Item In Combo Box and Not It's Export Value?

I created a Combo Box in Adobe pdf listing Company Names in the Item field. As well, I added an abbreviation for each Company Name in the Export Value field. When I try to display the Company Name from the Item field, it displays the Export Value.
The Combo Box is named "Company-Name".
In it, I have a company called "MacKenzie" within the Item Field. It's Export Value is "MFC".
app.alert(this.getField("Company-Name").value); will display "MFC". How do I display or get the value from the Item field?

You can use the getItemAt field method, like:
// Get a reference to the combo box
var f = getField("Company-Name");
// Get the index of the selected item
var a = f.currentValueIndices;
// Show the item value of the selected item
app.alert(f.getItemAt(a, false));

Similar Messages

  • How to select an item in combo box...!

    How to select an item in combo box in order to appear in a box of text (programmed in VB.Net for SAP Business One).

    Hi Carlos,
    I am not sure if this is what you want, but here's an example of selecting a value in a combo box. This is the item master data window and I'm changing Item Type to Labor.
            Dim oCombo As SAPbouiCOM.ComboBox
            Dim oForm As SAPbouiCOM.Form
            oForm = oApplication.Forms.ActiveForm
            oCombo = oForm.Items.Item("214").Specific
            oCombo.Select("L", SAPbouiCOM.BoSearchKey.psk_ByValue)
    Hope it helps,
    Adele

  • How do we get the plugin to run and not crash flash and shockwave constantly?

    the shockwave and flash players crash constantly in Facebook apps ... every indication is that the plug in container grinds away with extraneous programming down loaded to it without my knowledge or permission. it also slows the over all performance of all systems or apps that i attempt to run for the same reasons. how do i get rid of those unwanted and unneeded programs and prevent their return ?

    You can change the permissions that are stored in the browser in the "about:permissions" page, however if its the plug in container [http://mzl.la/MLXx5x What is a plug in container? ] you can manage the plug in with these [https://support.mozilla.org/en-US/kb/use-plugins-play-audio-video-games instructions] and if you are running into specific issues you can troubleshoot [https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix-problems the plugins with these]
    If you have any specific questions we are happy to help as well. Making them go away would prevent you from being able to watch/play the flash apps
    This also checks if they are up to date [http://www.mozilla.org/en-US/plugincheck/]
    [[Adobe Flash plugin has crashed - Prevent it from happening again]]

  • VBA Userforms – Getting errors when item from combo box is not selected

    Hi there
    Thank you in advance for taking the time to check this out.
    Objective:
    I have 2 combo boxes, one is dependent on what has been selected in the first combo box (dynamic named range), they work fine except for an irritating error when the user accidentally clicks in the empty
    Cmbox_IncCategory and it won’t allow the user to go back to the
    cmbx_Category_Type box if the user forgot he had to make a selection from that first before selecting the
    Cmbox_IncCategory.
    The error that pops up is “Invalid property value”.
    I tried having text in there to say “please select from Cmbox_IncCategory first, but that didn’t fix it.
    I tried to ‘If error resume next’ but that didn’t like it either. Now I am stumped.
    Main combo box= cmbx_Category_Type
    2nd combo box (displaying a list dependent on what was selected in Main combo box)= Cmbox_IncCategory
    I know there must be a way to fix it so that if a user clicks on the combo box, but doesn’t make a selection it won’t lock up the form.
    Yes, it is a mandatory field, and I was considering using a message box to advise the user that this must be completed, but I am not sure how to do it (and avoid the errors
    Here’s the current code I have for the combo boxes.
    Me.Cmbox_IncCategory = "" 'Clears the contents of the 2nd combobox when another category is chosen
    On Error Resume Next
    'I can't seem to have the Incident Category combobox to be empty when the form is open _
    I have tried Cmbox_IncCategory.Value = "", but I get an error. I then tried Cmbox_IncCategory.text = "" _
    but also get the error. I don't know how else to get it to work .. I tried both codes in the _
    form_initialize, but get an error ... I'm stumped !
    Select Case Me.cmbx_Category_Type
    Case "Crime"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_CRIME"
    Case "Property Damage - Minor - NS"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_PROPRTY_NS"
    Case "Property Damage - Significant - S"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_Proprty_S"
    Case "Safety"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SAFETY"
    Case "Security Breach"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_BREACH_S"
    Case "Support"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SUPPORT"
    Case "Vehicle"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_VEHICLE_S"
    End Select
    End Sub
    I’d be really grateful if someone could help me out, or perhaps direct me to where I might find some coding that will achieve the result I am seeking.
    This links to
    My Sample form
    With much gratitude,
    TheShyButterfly
    Hope you have a terrific day, theShyButterfly

    Hi Peter,
    Thank you for your quick response :) Brave man! :)
    Both combo boxes are blank to start with (because nothing has been selected). If I click on the first combo box (cmbx_Category_Type) which lists the main events/category types, but I don't select any thing, and I click in the secondary box
    (Cmbox_IncCategory) and then click on any other control, I get an “Invalid property value” error. When I click OK on the error (a few times) and I return to the code window, it gives no indication where/what is breaking
    the code/causing the error. I have no choice but to exit the form by stopping in the code window.
    If I click on the first textbox, (cmbx_Category_Type), and then do the right thing and make a selection, then I have no problems with the secondary textbox (Cmbox_IncCategory).
    As I am not that up on VBA I am trying to follow your instructions... I have changed the code as follows, removed and replaced the rowsource name, but I encounter the very same problem.
    When I changed my code from Me.Cmbox_IncCategory="" to yours myCombo.ListIndex = -1  (changing the combo box name to reflect my combo box name) and adding the second line of code ...
    Me.Cmbox_IncCategory.ListIndex = 0 I still got the same behaviour and error.
    I even tried moving each row of the named rows down one row (so that there would be a 'blank' row which could be selected to get out of trouble, but it wasn't very successful either.
    Have you opened my form to see what happens, I included the link so whoever was looking at my problem (and yes, I have many I know), could see for themselves what it is doing/not doing.
    The code now reads as below (is this what you meant?) - the results were as I mentioned above.
    Me.Cmbox_IncCategory.ListIndex = -1 'Clears the contents of the 2nd combobox when another category is chosen
    Me.Cmbox_IncCategory.ListIndex = 0
    ' On Error Resume Next
    'I can't seem to have the Incident Category combobox to be empty when the form is open _
    I have tried Cmbox_IncCategory.Value = "", but I get an error. I then tried Cmbox_IncCategory.text = "" _
    but also get the error. I don't know how else to get it to work .. I tried both codes in the _
    form_initialize, but get an error ... I'm stumped !
    Select Case Me.cmbx_Category_Type
    Case "Crime"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_CRIME"
    Case "Property Damage - Minor - NS"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_PROPRTY_NS"
    Case "Property Damage - Significant - S"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_Proprty_S"
    Case "Safety"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SAFETY"
    Case "Security Breach"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_BREACH_S"
    Case "Support"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SUPPORT"
    Case "Vehicle"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_VEHICLE_S"
    End Select
    End Sub
    I appreciate your patience :) I am growing in knowledge, but its a slow process. Please let me know if there is anything else I can help clarify for you :)
    This links to
    My Sample form
    Thanking you again
    TheShyButterfly
    Hope you have a terrific day, theShyButterfly

  • When signing onto my internet server, firefox brings up a box saying SERVICE CONFIGURATION, how do I get rid of this box and what does it mean?

    The box looks as follows:
    SERVER CONFIGURATION
    Where should the output file be saved?
    SYNCHRONIZATION
    O Just upload filters
    O Synchronize online and offline filters
    SERVER:
    Host: __________________
    User name: ______________
    Password: ______________
    PROTOCALL: O FTP; O HTTP; O HTTPS; O Local file
    PATH: /adblock.txt
    The above information comes up and stays on the desktop every time I click on OZILLA FIREFOX ICON. What is it needing and how do I get rid of it. It slows down loading up my internet connection.

    The box looks as follows:
    SERVER CONFIGURATION
    Where should the output file be saved?
    SYNCHRONIZATION
    O Just upload filters
    O Synchronize online and offline filters
    SERVER:
    Host: __________________
    User name: ______________
    Password: ______________
    PROTOCALL: O FTP; O HTTP; O HTTPS; O Local file
    PATH: /adblock.txt
    The above information comes up and stays on the desktop every time I click on OZILLA FIREFOX ICON. What is it needing and how do I get rid of it. It slows down loading up my internet connection.

  • How do I get my previous mail boxes and passwords back

    I was haviing problems getting on my server so I refreshed the computer
    ( PC, Windows 8) now I don' t have any book marks on my browsers and I lost my mail boxes and passwords.

    What does 'I refreshed the computer' mean?
    Did you create backups of your Thunderbird and Firefox profiles prior to the 'refresh'?

  • The Prompt on combo box is not disappearing after a value is selected.

    Hi guys,
    I am putting in the prompt "Course Category" which starts off black and when a value is selected it turns grey but doesn't disappear, obscuring the selected value.
    I have tried putting in the line course_step1.prompt = ""; in the post selection part of the code but this has no effect.
    Interestingly when I test just this scene and not the whole movie this problem dosen't occure.
    This is a quote from my code I hope it gives you the idea...
    Thanks in advance,
    var course_step1:ComboBox = new ComboBox;
                    sophia_page2.addChild (course_step1);
                    course_step1.x = 245;
                    course_step1.y = 12;
                    course_step1.width = 200;
                    course_step1.dropdownWidth = 300;
                    course_step1.prompt = "Course Category";
                    course_step1.dataProvider = new DataProvider(cat_array);
                    course_step1.addEventListener(Event.CHANGE,select_cat);
                    function select_cat(event:Event):void
                                    var cat_select:String =(course_step1.selectedItem.data);
                                    course_inst1.textColor = 0x999999;
                                    course_inst2.textColor = 0x000000;  
                                    course_inst3.textColor = 0xCBDEF5;
                                    course_step1.prompt = "";
                                    //trace ("http://onedev/one/Sophia/CourseQuery2.asp?Cat=" + cat_select);
                                    var cat_selecturl:String =("http://onedev/one/Sophia/CourseQuery2.asp?Cat=" + cat_select);
                                    var xmlq2:XML = new XML ();
                                    var q2theURL_ur:URLRequest = new URLRequest("xmlq2.xml");
                                                           //replace with cat_selecturl ---- test with "xmlq2.xml"
                                    var q2loader_ul:URLLoader = new URLLoader(q2theURL_ur);
                                   q2loader_ul.addEventListener("complete", q2fileLoaded);
                                    function q2fileLoaded(e:Event):void
                                                    xmlq2 = XML(q2loader_ul.data);
                                                    //trace (unescape (xmlq2));
                                                   course_step1.prompt = "";

    Check the HTML source. Is any code after the initial option present (ie the </select></td>)? If not then you are getting an error that is masked by the fact that you already committed the response. Look into your logs.
    If the HTML source looks fine I fall back to my previous answer and you need to re-check the messages closer to where the work is being done. Though it never hurts to check the log files.

  • How does User get Identified by Screen Name and NOT by Real Name in submitting a Forum Post?

    I have noticed that when I post a question or discussion item to one of Adobe's Forum Communities, I am identified as the author of my post by my actual legal name, not by my Screen Name that I set up in my profile when I registered.  The same applies for the posts of others--they are identified by their legal names, not their screen names.  What is the purpose of the Screen Name we set up when we registered, if not to shield the identity of the individual from others reading the post, if that person does not want to have their true identity publicly disclosed in, or publicly associated with the post?  If I sign my post using my Screen Name, but then it is identified with my legal name when I post it, what good does it do to have a Screen Name?  Is there some way to have the software not use my legal name, but identify my posts by my Screen Name only, if I so choose that option?  (Of course, Administrators at Adobe can always (presumably) identify the (real name) author of the post, via the registration information associated with a Screen Name, should the need arise.)
    Sincerely,
    SpaceAdventurer

    Thanks for the reply, mytaxsite.co.uk.  And thanks for the screenshot showing me that my name is displayed to you as "spaceadventurer," which is what I had intended / wanted.
    I understand now, from reading through most of the original and replies to the post,Real name instead of Screen name displayed, where I noticed you replied several times, that the Screen Name / real legal name works this way on Adobe’s forums:
    When you are logged in - YOU (and only you) see your real legal name everywhere on the forums / web site, and associated with all of your posts
    When you are not logged in (to Adobe / forums with your Adobe username / password), you always see your name associated with your posts as your Screen Name only
    Everyone else always sees your screen name, everywhere, on all posts, regardless of whether they (everyone else) are logged in or logged out.  (Unless, of course, you set up your profile to have your Screen Name be your real legal name.  Then everyone will always see your real legal name associated with your posts.)
    When logged in, in the “Edit Communities Profile” web page (from the menu that appears when you click your Avatar in the black Adobe menu bar at the top of the screen), in the “Privacy” tab on that page, there is a “widget” called ‘Preview your profile’ in the upper right-hand corner of that tab.  This widget is supposed to show you how you or others, depending on which selection you make from the dropdown in the widget, will see your Profile (and therefore, your name) from their computers.  In fact, no matter which selection you make from the dropdown, the display of your profile that is produced ALWAYS shows your real legal name, which is misleading, because that is not in fact, what others will see. Others, whether “Registered Users,” “Friends,” or “Everyone,” will ALWAYS see your Screen Name only.  (Except for the exception I mentioned in the immediate previous bullet.)
    There is a way to change your Screen Name, should you feel the need to do so.  The steps to do that are detailed in response no. 75 to the "Real name instead of Screen name displayed" forum post.
    Does it sound to you like I have captured the gist of the main learnings that can be gleaned from that post ("Real name instead of Screen name displayed”)?
    Thanks,
    SpaceAdventurer

  • I have chosen a persona, but when I start up Firefox, Mozilla start page with Google shows, and persona is just barely visible only in the toolbar area. How do I get the persona to show, and not Google start-up page?

    I checked out the Mozilla Personas, saw one I liked, and added on. When I start Firefox, the Mozilla start-up page shows as usual with Google on it. The Persona I chose barely shows, and only in the Toolbars area at the top of the screen. Can I modify the start-up page to not show Google, and access Google another way, so that my Persona will show on the whole start-up page?
    == This happened ==
    Every time Firefox opened
    == I added-on Persona

    As you can see from the [http://support.mozilla.com/en-US/kb/Using+themes+with+Firefox using themes with Firefox] article, personas are "''lightweight themes that can change the color scheme and background image of the Firefox toolbars''" and they wouldn't change the webpages.
    If you don't like seeing Google as your home page you might want to look at [http://support.mozilla.com/en-US/kb/How+to+set+the+home+page how to set the home page] and change it.
    Finally Firefox 3.5.x will be maintained with security and stability updates until August 2010, so you might want to [http://support.mozilla.com/en-US/kb/Updating+Firefox update to a newer version].

  • HT1518 how do we get back to normal writing and not using unicode?

    My laptop is writing in uni code and it won't go back to English someone please help its urgent!

    Are you using an external keyboard at all? If so, it sounds like it needs remapping. Go to
     > System Preferences > Keyboard to set it up.
    In any case, there should be a flag (national flag or some other icon) in the menubar, probably between the battery/power indicator and the volume icon. Click on it and select 'English'.
    You can set up a keyboard hotkey for this, if you look in
     > System Preferences > Language & Text | Input Sources
    on the right of the window you should see 'Input source shortcuts'. There should be a hotkey for
    'Select previous input source' and
    'Select next input source in the menu'
    If the second one is greyed out, click the 'Keyboard Shortcuts' button underneath and set it up as
    'option-command-spacebar'.
    Now use this hotkey to toggle through to English.

  • HOWTO Get the text of "combo box" and "labe" controls with JavaAccessBridge

    HOWTO Get the text of "combo box" and "labe" controls with JavaAccessBridge.
    Please help,
    I'm trying to use the Java Access Bridge (JAB) 2.1 to get the text in Java Applet controls. I've been able to use the sample code in AccessInfo.cpp sample that comes with JAB to get text from "text" controls in a Java Applet. To clarify, I am referring to the "role" in the AccessibleContextInfo struct being set to "text" or "combo box" or "label".
    The problem is, when I use the AccessInfo.cpp sample to get text from a "combo box", the accessibleText data member comes back as FALSE, and thus any of the JAB text functions like GetAccessibleTextInfo fail to get any text information from "combo box" or "label" controls.
    I've also tried GetCurrentAccessibleValueFromContext on the "combo box" and "label" controls, but the text returned is empty.
    Can anyone help?

    I have new information in regards to this issue. A contact from Sun did get to me in email and relayed that that "label" objects store their text in the "name" data member of the AccessibleContext structure. This was a big help.
    But I'm still stuck trying to get information from "combo box" and other controls, like "push button". The contact said, the Java Access Bridge does not provide all the information because it is already implemented by other interfaces like AccessibleComponent, AccessibleAction, or AccessibleSelection. The contact did not allude to whether these opther interfaces can be used along side the Java Access Bridge or not. So, I'm left a step closer to the goal, but still stuck without the full solution.
    Can one take the Java Access Bridge functions, like say those used in the Ferret sample, and close the gap to get text back from "combo box", "push button", and other controls by using some other API in conjunction?

  • I need help. When i open combo box and click window redrawing (flickering)

    hi,
    I am developing HTML desktop app using adobe AIR.
    Thought i can use it like browser page. Its not able to handle all jquery ,bootstrap etc.
    So removed all . just created a simple form with static combo box with many values.
    When i opened combo box and selected value whole screen redrawing( you can see it flicker). Annoying as hell.
    When i click button or type in input field its not happening.
    Anyone have clue?. I tried this same page in TideSDK ( its not flickering there).
    But i am gona go with AIR because of update feature but i need to get rid of flickering issue before i go any further.
    Anyone here done HTML form in adobe air?
    Please help. I am having headache all day on this issue.
    Advanced Thanks .

    I meant flickering means...when i open combobox and click focus is going out of air window as though combobox is in some another window. once click press mouse down...focus is in combo box but window loses focus and once releases mouse ..window back to focus.  Kinda annoying effect when u try to click on combo box and select.
    Tested with html scout sample app and load any webpage with combobox , window loses focus.
    But any combobox made using EXT it do not flicker because ext handles focus event correctly.
    My windows has set of combo box and user always select different value from combo box if keep losing focus and coming back its annoying as hell.

  • How to update items in combo box programmat​ically

    I have a problem on updating items in combo box programmatically, such as add or remove a item from the list. I can add or delete without any problem once the vi is running. I can see it is changed by pressing drop button. But after I close the vi and rerun it, the change I did last time is lost. It seems it not permenatly change the list. Anyone has an idea?

    If you are changing the list programmatically why do you believe that it should be permanent? If it's permanent, why are you changing it programmatically? Doesn't make a whole lot of sense.
    If you're talking about saving the values as "default" in the same way you do with the development environment, you cannot do this with an EXE. This is a FAQ. You have to update the list programmatically, saving the "new" default values to file.

  • How to implement alphabetic search in combo box

    Hi all,
    how to implement alphabetic search in combo box through coding.
    Thanks for any replies

    Im not sure if I undestand correctly, but example is
    sCFL_ID = oCFLEvento.ChooseFromListUID
                        Dim oCFL As SAPbouiCOM.ChooseFromList
                        oCFL = oFormKontrolaMZ.ChooseFromLists.Item(sCFL_ID)
                        If oCFLEvento.BeforeAction = False Then
                            Dim oDataTable As SAPbouiCOM.DataTable
                            oDataTable = oCFLEvento.SelectedObjects
                                    val = oDataTable.GetValue(1, 0)
    oForm.DataSources.UserDataSources.Item("EditDS").ValueEx  = val
    and then load from datasource to matrix.
    hope it helps
    Petr

  • How do I retrieve data from combo boxes?

    The past weekend I spent my whole weekend trying to find this
    out and gone through the top 10 pages on google trying all sorts of
    things. I would be grateful for anyone who can help me.
    I have 6 combo boxes in a booking form and I need to retrieve
    the data when someone click submits which gets forwarded on to php
    then my mailbox. They are called box1_cb, box2_cb.....box6_cb All
    in the instance of: ComboBox - which I don't understand what that
    does.
    it does not seem to be retrieving any of the data. For each
    combo box:
    I have the the options people can choose form in "Labels" box
    under "Paramaters", nothing for "Data", Row Count is 8 and nothing
    for "Change Handler" which I don't know what it does.
    Can anyone please provide some help with telling me what
    "change handler" does, do I need the data for each combo box in the
    "Labels" parameter as well as the "Data" box, what an instance does
    (for combo boxes) and what I need to put in the actionscript for
    the submit button as well as do i need to put code in the
    actionscript for each combo box?
    The options people can choose from in the combo boxes are
    there when someone views the site.
    Can anyone please help me..I would greatly appriciate it.
    Thanks.

    If your hard drive can be detected and shows up as a drive letter in my computer but you can't access your files,then you can recover your data off it with data recovery software easily.This way is the easiest and the most inexpensive way to recover your data.If you bring it to a computer repair shop that is available for data recovery servise,they will cost you $500-1000 or more.Hmm, a lot of money.
    I managed to recover data from crashed hard drive with Tenorshare Data Recovery.If needed,you can download it and scan your hard drive for free to preview whether your data can be recovered.It will show you thumbnails for recoverable pictures.

Maybe you are looking for

  • Motion 4: open and close a group with key shortcut?

    Mo4: Layers window: any shortcut to twirl down (and/or up) all the layers in a group? Or layers in layers? The manual says arrow keys move from group to group,layer to layer and that works... also says that L & R keys open and close selected group/la

  • Favicon - Preview in Browser

    I'm trying to add a favicon to my site. First of all, I don't have a header, really, but I still inserted the code between the <head> and the </head> tags. When I preview the page in the browser, the space for the favicon shows up, but my actual favi

  • Korean Language for pearl 9105

    Hey Guyz.. I just want a way for me to write and read Korean in my Blackberry Pearl 9105. How can I??? please help me..!

  • Add-ADGroupMember : Cannot find an object with identity

    Season Greetings. I have this piece of code that does little else than add a userproxyfull user to a group in ADLDS. Get-ADGroup -server b-004:389 -searchbase $partition -credential $myCred -filter {distinguishedName -eq $groupdn} | Add-ADGroupMember

  • Apple Authorised Service Provider in West Africa

    Please advise on any Apple Authorised Service Provider in West Africa, preferably Cote d'Ivoire, Ghana, Togo,, Benin and Nigeria. The more I get used to Apple and the more I became dependant on the Apple computers and you can imagine how frustrating