Obtaining comboBox data

Hi there,
I am trying to figure out how to create the selected data in
a combo box as a variable in my form.
Here is a part of my code as an example of what I want to do.
var orderVariables:URLVariables = new URLVariables();
orderVariables.custName = textName.text;
orderVariables.custEmail = textEmail.text;
orderVariables.custPhone = textPhone.text;
How do I reference my combobox as an entity of
orderVariables?
Thanks
CM

I really dont know whats wrong with it. Heres the code for my
send function:
function sendOrder(event:MouseEvent):void{
var orderVariables:URLVariables = new URLVariables();
orderVariables.custName = textName.text;
orderVariables.custPetName = textPetName.text;
orderVariables.custAddress = textAddress.text;
orderVariables.custSuburb = textSuburb.text;
orderVariables.custPostcode = textPostcode.text;
orderVariables.custPhone = textPhone.text;
orderVariables.custEmail = textEmail.text;
orderVariables.custTagStyle = tagStyle.selectedItem.data;
orderVariables.custTagColour = tagColour.selectedItem.data;
orderVariables.custTagSize = tagSize.selectedItem.data;
orderVariables.custLine1 = textLine1.text;
orderVariables.custLine2 = textLine2.text;
orderVariables.custLine3 = textLine3.text;
orderVariables.custLine4 = textLine4.text;
var postOrder:URLRequest = new URLRequest("mailOrder.php");
postOrder.data = orderVariables;
postOrder.method = URLRequestMethod.POST;
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.load(postOrder);
gotoAndStop(2);
My comboBox's are labelled tagSize, tagColour and tagStyle
Can you notice anything wrong with this? :\
Thanks for your help

Similar Messages

  • What is the recommended way to obtain tracking data from carriers post XSI

    We currently run an old version of SAP Business Connector. We are in the process of migrating all interfaces off BC onto PI. The one remaining interface we have problems is the XSI (Express Delivery Interface) interface we have with ECC06 and UPS via the BC server. The interface works but is not stable and we would like to decommission it if we are able.
    I'm not 100% clear but it appears that XSI is no longer the recommended solution for obtaining tracking data from carriers. What is the recommend method today? We'd be happy to use a PI or ABAP solution but would prefer a standard solution that was supported by SAP and UPS.

    Using Time Machine is the simplest way to back up.
    debasencio wrote:
    They don't fit on a standard data DVD and when I try to back it up to my 500GB external hard drive it says its not formatted to files that size.
    How is the drive formatted?
    If it's DOS/FAT32, you can only size file sizes up to 4GB.
    If you are using it on a Mac only, format it Mac OS X HFS+.

  • Cannot obtain a Data Connection in 11g for Visual Studio 2008

    I click on "Server Explorer" and select "Add Connection", after entering "Data Source Name:" ORCL, i select "Use specific user and password:\", I enter HR with password as 12, "Role" remains "Default" after clicking "Test Connection" I get this error: "ORA-12569 TNS:packet checksum failure " my tnsnames.ora file looks like this: "ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = LapTop3-PC)(PORT = 2030))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    How do I obtain a Data Connection?

    You don't know what you are talking about fellow:
    Here's my registry which the installer created:
    Protid_0
    (Default) REG_SZ (not set)
    Host REG_SZ LapTop3-PC
    Name REG_SZ HTTP
    Port REG_SZ 2030
    ------------ END ================
    Again, I did NOT put that in my registry, the installer did!
    here's the original tnsnames.org file:
    # Every line that begins with # is a comment line
    # Create Oracle net service names, or aliases, for each database server
    # you need to connect to.
    # TNSNames.ora sample entry
    # alias =
    # (DESCRIPTION =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = myserver.mycompany.com)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVER = DEDICATED)
    # (SERVICE_NAME = orcl)
    # You can modify the entry below for your own database.
    # <data source alias> = Name to use in the connection string Data Source
    # <hostname or IP> = name or IP of the database server machine
    # <port> = database server machine port to use
    # <database service name> = name of the database service on the server
    <data source alias> =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname or IP>)(PORT = <port>))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = <database service name>)
    -------------- my changed tnsnames.ora file:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = LapTop3-PC)(PORT = 2030))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    # Every line that begins with # is a comment line
    # Create Oracle net service names, or aliases, for each database server
    # you need to connect to.
    # TNSNames.ora sample entry
    # alias =
    # (DESCRIPTION =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = myserver.mycompany.com)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVER = DEDICATED)
    # (SERVICE_NAME = orcl)
    # You can modify the entry below for your own database.
    # <data source alias> = Name to use in the connection string Data Source
    # <hostname or IP> = name or IP of the database server machine
    # <port> = database server machine port to use
    # <database service name> = name of the database service on the server
    ================================ end of change =============================
    No I don't have a network DB. I thought you could use Oracle as you do ".mdb" connections in MS Access
    I have said before, I know nothing about Oracle, but I'm trying to see if I want to learn it or stay with what I already have.
    I have to obtain a "Data Connection" before I can setup the Database; at lease that is in every example I have seen in the websites. Before you can setup a TABLE you have to have a "Data Connection"!!!
    Edited by: lam5158 on Sep 25, 2009 10:45 PM
    Edited by: lam5158 on Sep 25, 2009 10:50 PM

  • MI 7.1: Obtain all data from bapi wrappers

    Hi, i have my SWCV, i import various bapi wrappers... How can obtain the data from this bappi wrappers?
    If i go to view metadata, in CDS Entires, appear more than 0, mean that i have the data?
    I upload the application to the device, but i don´t receive the data.
    Can anybody help me?
    Thanks,

    Yes, i have it... But i don´t receive the data...
    It seems than only receive data from GETDETAIL, i think this because my GETLIST need the user, and if i do the initial load of data, here, there isn´t user...
    Thanks,
    PD: i think that in Mapping Tool should appear GETLIST...
    Edited by: Victor Capi on Apr 18, 2008 11:40 AM

  • How to  obtain last date of accounting period mmyyyy

    how to  obtain last date of accounting period mmyyyy.
    for ex: 31 st is the last date then output should be mm/31/yy.

    hi use this ....
    REPORT  ZTESTS.
    data: date1(4),
          date2(2),
          date3(2),
          date type sy-datum,
          output(8).
    parameters:p_date type sy-datum.
    CALL FUNCTION 'JVA_LAST_DATE_OF_MONTH'
      EXPORTING
        year_month               = p_date+0(6)
    IMPORTING
       LAST_DATE_OF_MONTH       =  date.
    output0(2) = date4(2).
    output+2(1) = '/'.
    output3(2) = date6(2).
    output+5(1) = '/'.
    output6(2) = date2(2).
    write:/ output.
    regards,
    venkat.

  • How to obtain table data that is hidden from a web page source?

    Hello!
    I have been trying to obain table data from a web page without success. The data can be copy and pasted from the web page but it can´t be found in the web page source.  I prefer NOT to use automated mouse clicks to obtain the data through CTRL-A, CTRL-C and then to the Clipboard ( I know how to do this but it is not so elegant :-) ). I tried to get the data automatically with the following code: (See snippet)
    I have also looked at the existing solutions in the forum for Loging in to a website but the difference here is that I am just interested in getting out the data from a Table (form or element? I am not so familiar with HTML nor JAVA)
    Any tips are appreciatted.
    Attachments:
    Get Web Table Data example.png ‏53 KB

    The trick is to get the current html of the page and not the source - the source will not render the javascript of the page which is what loads/populates the table. It's the difference between inspecting an element in Chrome and viewing the source.
    You'll need to see if there's a method/property that returns the 'live' html document object model after the Javascript has populated the table rather than the source of the page.
    You may also have more success trying to replicate the same method the webpage uses to actually load the data..it probably makes a request to a page which returns the scores information in a more 'raw' format rather than having to parse out the html elements yourself.
    (Also as an aside - Java is not the same as Javascript - one is a compiled language and one is a scripting language).
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Not obtaining all data due to write to file

    I am very new to LabVIEW, as in 3 days, and have not been able to figure out my problem with losing data while trying to write to a .txt file.  I have a load cell that I am attempting to obtain data from, but when I go to the waveform data I am losing approximately 2/3's of my data and am worried that an event will be missed and the data cannot be used.  Because I'm new, I am not good at troubleshooting/debugging and am looking for any help or guidance.  I have attached an image of what I have.
    Attachments:
    VI.JPG ‏49 KB

    Hi there,
    I think your basic problem is that you're obtaining your samples in individual lumps by collecting N samples then plotting and writing them to disk. If you change your task to a continuous acquisition say acquiring 10 samples at a time at 10Hz then the loop timing will be handled by the acquisition and the amount of data to be saved will be done easily within 1 second. See sample below. In this way you'll be constantly acquiring data and writing it to disk with no gaps.
    If you want to run the acquisition faster than say a kHz then I'd follow the suggestion made in the previous reply and stream the data to a separate loop via a queue just in case the disk write takes longer than the loop time.
    Regards
    Paul
    CLD running LabVIEW 2012 32 & 64 bit on Windows 7 64 bit OS.

  • Datagrid ComboBox data repetition

    I have made a datagrid and a column which has a ComboBox
    control which references a fixe length and data array to display
    the dropdown in the grid column. The problemis this array has to be
    repeated for every row of data in the grid.
    Is there anyway to make the drop down array just on list and
    referenced on the dropdown Combox column no matter how many records
    there?

    Hello Greg,
    I think I may have answered with your help my own question:
    I recoded the array as follows (and added a TextInput column
    in the example):
    This way I don't have to repeat the fixed 'aa' array in the
    {lst} with literals.
    Also I didnt understand that the DataGrid can had a different
    dp from the components. Is that right?

  • Obtain Queue Data Type

    I am working my way through my first Producer Consumer vi and have two questions. 
    1. The data I am enqueuing is x,y,z acceleration samples of type Waveform. The snippet shows how I set the data type in Obtain Queue. It's rather ugly and disturbing even though it appears to work.  Is there a more elegant and beautiful way to set the data type?
    2. The sample rate of the accelerometer is 5120 Hz.  The DAQmx Read buffer is of lenght 1024 samples.  Hence, it takes 200 [ms] to fill the buffer.  I've set the metronome to 100 [ms] to ensure that the Producer doesn't miss any samples.  That means the Producer While Loop will spend a good portion of its time waiting.  Right?  Does having wait cost anything?
    In LabVIEW's ProducerConsumerExample.vi the sample rate is 10000.  The Read buffer size is 1000.  And the metronome is set to 100 [ms].  The sample rate of the device comes from the hardware device in the cDAQ.  The 100 [ms] interval comes from the PC.  Won't there be a mismatch?  I'd like to understand this before I set my metronome to 200 [ms].
    Solved!
    Go to Solution.

    Arizona_Joe wrote:
    So, can you shed some light on the behavior of the While Loop you mentioned that does not have a metronome and is is paced by DAQmx? I would think it would do a lot of spinning. 
    It isn't spinning because it is waiting inside of the DAQmx Read for N samples to be gathered.  That is not an instant data request.  It takes time to gather those samples.  That length of time is dependant on your sample rate and how many samples you are requesting.  So because it is waiting inside of the DAQmx Read, there is no need to add an additional wait.  Let the DAQmx Read limit the loop rate.
    It is actually just like the consumer loop for the Producer Consumer.  The reading of the queue will limit the rate at which that loop runs.  Therefore, it needs no wait.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Receive combobox data to another frame

    hi,
      I have combobox in frame 2. how can I receive the selected "string"data when I go in frame 3?
    I thing it can't do that. Must I store data in class and I read then when I go in frame 3.

    Create a layer for actionscript and have it extend the full length of your timeline.  Then just decalre a variable in frame 1, name it whatever you like...
    var comboboxVariable;  // if you know the data type, specify that too
    Then that variable will be available anywhere along the timeline.  You can assign it a value in frame 2 when the combobox is used and read its value in frame 3

  • ComboBox Data Grid

    Ok i got the following service below which controls the data
    provider for the data grid. The variable anaLink is in a function
    that everytime when a item is selected from the combobox the link
    changes. But the problem is when i select a item from the list the
    data isn't refreshing in the grid. I refresh the service by the
    following line of code
    this.getAnalytics.send();. But it isn't working am i missing
    something.
    <mx:HTTPService id='getInfo' url='{anaLink}'
    useProxy="false" method="POST">
    </mx:HTTPService>

    Basically i took a look at your example its a little
    different from my code. When a person select a item from the
    comboBox it will change the compid in the url once that is done the
    database will be queryed and the new data will be displayed in the
    grid. Here is the code below.

  • ComboBox data

    I have a combobox that uses an ArrayCollection to populate
    it. I can't seem to get the 'data' from it though. What am I
    missing?
    I know the ArrayCollection works fine, but when I select the
    2 'breeds', it gets populated with nothing.
    Here is my comboBox
    <mx:ComboBox id="breed1_txt" visible="false"
    toolTip="Select the dominant breed of the pet"
    dataProvider="{breedTypes}" labelField="breedName" />
    Here is my create function when the form is submitted:
    public function addPet(e:Event):void {
    var petInfo:Object = new Object();
    petInfo.petName = petName_txt.text;
    petInfo.petType = petType_txt.selectedItem.data;
    petInfo.petBreed = breed1_txt.selectedItem.data;
    petInfo.petBreed2 = breed2_txt.selectedItem.data;
    petInfo.petGender = petGender_txt.selectedItem.data;
    petInfo.petAge = petAge_txt.selectedItem.data;
    petInfo.petColors = petColors_txt.text;
    petDAO.create({petData:petInfo});
    petBreed1 and petBreed2 end up empty. Any clues?

    "projectproofing" <[email protected]> wrote
    in message
    news:g9mm3d$q11$[email protected]..
    >I have a combobox that uses an ArrayCollection to
    populate it. I can't seem
    >to
    > get the 'data' from it though. What am I missing?
    >
    > I know the ArrayCollection works fine, but when I select
    the 2 'breeds',
    > it
    > gets populated with nothing.
    >
    > Here is my comboBox
    > <mx:ComboBox id="breed1_txt" visible="false"
    toolTip="Select the dominant
    > breed of the pet" dataProvider="{breedTypes}"
    labelField="breedName" />
    >
    > Here is my create function when the form is submitted:
    > public function addPet(e:Event):void {
    > var petInfo:Object = new Object();
    > petInfo.petName = petName_txt.text;
    > petInfo.petType = petType_txt.selectedItem.data;
    > petInfo.petBreed = breed1_txt.selectedItem.data;
    > petInfo.petBreed2 = breed2_txt.selectedItem.data;
    > petInfo.petGender = petGender_txt.selectedItem.data;
    > petInfo.petAge = petAge_txt.selectedItem.data;
    > petInfo.petColors = petColors_txt.text;
    > petDAO.create({petData:petInfo});
    >
    > }
    >
    > petBreed1 and petBreed2 end up empty. Any clues?
    selectedItem should already _be_ the data that was used for
    the
    itemRenderer.
    HTH;
    Amy

  • Obtaining Invoice data

    I am trying to get freight charge amounts from invoice data and cannot find how to do this.  I looked at VBRK and VBRP and was not able to select freight charges.  I have several thousand invoices to search so your help is appreciated.
    John

    I really dont know whats wrong with it. Heres the code for my
    send function:
    function sendOrder(event:MouseEvent):void{
    var orderVariables:URLVariables = new URLVariables();
    orderVariables.custName = textName.text;
    orderVariables.custPetName = textPetName.text;
    orderVariables.custAddress = textAddress.text;
    orderVariables.custSuburb = textSuburb.text;
    orderVariables.custPostcode = textPostcode.text;
    orderVariables.custPhone = textPhone.text;
    orderVariables.custEmail = textEmail.text;
    orderVariables.custTagStyle = tagStyle.selectedItem.data;
    orderVariables.custTagColour = tagColour.selectedItem.data;
    orderVariables.custTagSize = tagSize.selectedItem.data;
    orderVariables.custLine1 = textLine1.text;
    orderVariables.custLine2 = textLine2.text;
    orderVariables.custLine3 = textLine3.text;
    orderVariables.custLine4 = textLine4.text;
    var postOrder:URLRequest = new URLRequest("mailOrder.php");
    postOrder.data = orderVariables;
    postOrder.method = URLRequestMethod.POST;
    var loader:URLLoader = new URLLoader();
    loader.dataFormat = URLLoaderDataFormat.VARIABLES;
    loader.load(postOrder);
    gotoAndStop(2);
    My comboBox's are labelled tagSize, tagColour and tagStyle
    Can you notice anything wrong with this? :\
    Thanks for your help

  • How to obtain items data in KOBED and KOBEV (Requirements)

    Hi,
    I'd like to obatain info about the item when releasing PO through ME29N.
    I am using a custom requirement to do that.
    I need to check if the item is marked as a Return (MEPO1211-RETPO) and if so I do not want to send an output message (email).
    Thanks,

    about 1 million records  in it, when I select all records
    from database in sql management it takes about 26 sec and it is so much
    Hello,
    Why do you select a million at once, no one can scroll through this tons of data? And why do you expect to get 1 mio in less that time? Already SSMS will need several seconds to fill & show the data grid with this amount of data.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Can I obtain the date of the exe and display it on the fropnt panel?

    Hello,
        Is there a way that a Labview program can display the date of the exe and display it on the front panel? I am aware of the version info on the application builder, but I did not see a way to get the date when the exe was created.
    Regards,
    Kaspar

    Hi
    You could use File/Directory Info function in your code like this
    cheers
    David
    Message Edited by David Crawford on 02-24-2010 11:11 PM
    Message Edited by David Crawford on 02-24-2010 11:12 PM
    Attachments:
    App Last Mod.png ‏17 KB

Maybe you are looking for

  • Is it possible to recover restriction passcode on iphone 4s

    is it possible to recover restriction passcode on iphone 4s. Can anyone help

  • Why do I have 3 tabs opening when I first open firefox

    Everytime I open my Frefox browser I have 3 differnet tabs that open, I have Firefox 3.6.24. I won't upgrade cause when I do alot of my programs won't work. 1st tab says "your almost there, wanting me to upgrade, 2nd tab is my LassPass, 3rd tab is my

  • Sqlplus -prelim command is not working.

    Hi , sqlplus -prelim command is not working for me. It is giving me the below error. oracle@xyz: /app/oracle/product/10.2.0/bin $*sqlplus -prelim* SQL*Plus: Release 10.2.0.3.0 - Production on Fri Aug 7 10:31:54 2009 Copyright (c) 1982, 2006, Oracle.

  • Column width vs. screen resolution

    Hi I see at metalink's main page when I have login the first report's resize when resize my browser windows. I have try to fix some of my reports in my application for a 1024 x 768 screen resolution with: <table><col style="width:500px;"><tr><td>#COL

  • Google maps crashes Safari 1.3.2

    In the last week or so, any attempt to load certain websites has caused my mac (PowerBook G4 running 10.3.9) to crash. I have isolated this to google maps (many websites seem to use this functionality in embedded windows for instance). The crash repo