Can a ComboBox be used for Text Input ?

Hi
In Ms Access the combo box can be used for text input for creating new lines in the Database instead of just being limited to the lines already there in the drop down list. Is this possible with the combo box available in Flex 4. If it is I haven't being successful in getting it to work.
Thanks for you help in advance
ParaicKW

I am using a Dataservices Commit method to write to the Database via a button on the screen
When I type into the ComboBox's text input and click outside the combobox or on the commit button the application effectively freezes
SituationService is a CRUD type servicePHP to MYSQL and it works with the Datagrid
Here is the code -
ParaicKW
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:situationservice="services.situationservice.*">
    <fx:Script>
        <![CDATA[
            import mx.controls.Alert;
            import mx.events.FlexEvent;
            protected function Situation_creationCompleteHandler(event:FlexEvent):void
                getAllTblsituationResult3.token = situationService.getAllTblsituation();
            protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                getAllTblsituationResult.token = situationService.getAllTblsituation();
            protected function button1_clickHandler(event:MouseEvent):void
                situationService.commit();
            protected function vGroup_creationCompleteHandler(event:FlexEvent):void
                getAllTblsituationResult2.token = situationService.getAllTblsituation();
        ]]>
    </fx:Script>
    <fx:Declarations>
        <s:CallResponder id="updateSituationResult"/>
        <situationservice:SituationService id="situationService" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
        <s:CallResponder id="getAllSituationResult"/>
        <s:CallResponder id="getAllTblsituationResult"/>
        <s:CallResponder id="getAllTblsituationResult2"/>
        <s:CallResponder id="getAllTblsituationResult3"/>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <mx:DataGrid x="96" y="167" id="dataGrid" creationComplete="dataGrid_creationCompleteHandler(event)" dataProvider="{getAllTblsituationResult.lastResult}" editable="true" width="470" height="237">
        <mx:columns>
            <mx:DataGridColumn headerText="ID2" dataField="ID2"/>
            <mx:DataGridColumn headerText="SITUATION" dataField="SITUATION" width="200"/>
        </mx:columns>
    </mx:DataGrid>
    <s:Button label="Commit Updates" click="button1_clickHandler(event)"/>
    <s:HGroup width="90%" height="80%" verticalCenter="20" horizontalCenter="0">
        <mx:ComboBox width="476" id="cmbSituation" creationComplete="Situation_creationCompleteHandler(event)" dataProvider="  
                 {getAllTblsituationResult3.lastResult}" labelField="SITUATION" editable="true">
        </mx:ComboBox>
        <s:TextArea width="426" id="textArea" text="{getAllTblsituationResult3.lastResult.SITUATION}"/>
        <s:Button label="Back" click="cmbSituation.selectedIndex = cmbSituation.selectedIndex-1 ; textArea.selectedIndex = textArea.selectedIndex-1"/>
        <s:Button label="Forward" click="cmbSituation.selectedIndex = cmbSituation.selectedIndex+1 ; textArea.selectedIndex = textArea.selectedIndex-1"/>
    </s:HGroup>
</s:Application>

Similar Messages

  • Can FW CS3 be used for graphic for printing?

    I am very familiar with FW but I do not like Photoshop,
    however I have both I preffer to use FW. As I have seen on one
    presentation new FW CS3 has CMYK pallete so my question is: can FW
    CS3 be used for preparation of graphic for printing or what are the
    obstacles? After preparing images in FW I will use InDesign for
    text or maybe the text in FW is wector and maybe I could use FW
    including text and not to use INDEsign far small projects? Does
    anyone has any experience with this subject?
    Regards
    Martin

    qnnick wrote:
    > I am very familiar with FW but I do not like Photoshop,
    however I have both I
    > preffer to use FW. As I have seen on one presentation
    new FW CS3 has CMYK
    > pallete so my question is: can FW CS3 be used for
    preparation of graphic for
    > printing or what are the obstacles?
    Fireworks does not operate or export in CMYK color space. It
    was
    developed for screen images only, and operates and exports in
    RGB color
    space. It is not recommended that you use it in preparation
    of images
    for print. You mentioned that you don't like photoshop. You
    might like
    Illustrator better.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • Can Adobe Collage be used for images smaller than the standard 1200 by 789?

    Can Adobe Collage be used for images smaller than the standard 1200 by 789?

    Hi,
    * Photoshop Touch does have very good text capabilites.
    * For opening the Collage as an Artwork (Merged layer) in Photoshop Touch, you just need to upload the Collage file to Creative cloud and import it directly into Photoshop Touch.
    But if you are looking to preserve all the layers of the Collage file, you should download the Collage file as PSD from Creative Clould and import it in Photoshop Touch as layers.
    * Collage does have canvas scalability, you can extend up the canvas on all the four directions. But i think in you case you are looking for having specific custom sizes of the canvas, which is not currently available in Collage. Currently you cannot shrink the canvas below the default canvas size.
    Hope this is helpful. Please do revert back if you have more queries.
    -Subbi

  • Can SQL*Loader be used for Oracle html pages, for e.g Customer, Tasks etc

    Hi,
    Can SQL*Loader be used for Oracle html pages, for e.g Customer, Tasks etc.
    Reason: We have a job that creates leads, tasks in 11i, but r12 is not working as expected, an SR is open with Oracle for a long time and no solution so far. I am thinking of using SQL*loader to populate the data, but these are html pages. Will SQL* Loader work?
    12.1.4 / 11g db
    Appreciate your inputs.
    Thanks,
    K

    Can SQL*Loader be used for Oracle html pages, for e.g Customer, Tasks etc. It should work.
    Reason: We have a job that creates leads, tasks in 11i, but r12 is not working as expected, What is the issue you have with R12?
    an SR is open with Oracle for a long time and no solution so far. I am thinking of using SQL*loader to populate the data, but these are html pages. Will SQL* Loader work?What was Oracle feedback? Did they say it is certified and can be used?
    Thanks,
    Hussein

  • Can an iMac be used for WD My Book Live safepoints?

    I have a Western Digitial My Book Live network drive.  All Mac's and PC's can read/write without a problem.  I would like to create a safepoint (WD term for backup) on an iMac but can't seem to get past correctly discovering the devices on the network.  The MBL can 'see' the shares on the XP PC but nothing on the Mac's.  Unfortunately the XP PC is not suitable for backups.
    Can a Mac be used for MBL safepoints?  If so, how is that accomplished? 
    Yes, I've posted this same question the WD Support and WD Communities but no responses.  Most MBL Mac users posting on WD forums are using them for Time Machine.  I thought maybe someone on the Apple forums might have solved this problem.
    Thanks in advance for any help.
    Mike

    I am having the same issue.  Did you ever find an answer?  I see no one ever responded to you.  I have a WD cust service Tech support question submitted but no answer yet there either.  Thanks for any info you have.
    I get the error
    30000 - Unknown error. Retry your last operation. If the error persists, contact WD Support for assistance.
    (share_discover_9)
    when I choose the iMac as the location I would like to use.

  • Can a IDOC be used for data exchange from R/3 to CRM

    Hi All,
    First, can a IDOC be used for data exchange from R/3 to CRM
    I need to update few fields of SAP CRM Sales order with fields from SAP R/3 Work Order.
    To achive this can I use IDOC?
    Or do I update the R/3 sales order from R/3 Work order(using some interface or workflow), so that the sales order data flows from R/3 SO to CRM SO.
    Please respond immediately.
    Regards,
    Gopinath

    IDocs can be processed by the CRM system via XML/XIF adaptor. As this will be most probably a new interface that is not yet set up, it would be easier to change the orders in R/3 via an appropiate FM which should automatically generate a delta download BDoc.
    Even if they are not downloaded automatically a request download (defined via R3AR2 / 3 / 4) should take care of this.
    Hope this helps,
    Kai

  • Can Adobe Distiller be used for converting all pro/e (3D -2D)  files to pdf format?

    Can Adobe Distiller be used for converting all pro/e (3D -2D)  files to pdf format?

    Acrobat Distiller Server converts Postscript to PDF.

  • In addition to my iMac, I have a Power Mac G4 (10.4.11 Tiger) which of course is pre-Intel.  I can boot up and use for about 5 minutes before the mouse freezes.  I believe something is   overheating.  What would that be - so I can have repairs done?  The

    In addition to my iMac, I have a Power Mac G4 (10.4.11 Tiger) which of course is pre-Intel.  I can boot up and use for about 5 minutes before the mouse freezes.  I believe something is
    overheating.  What would that be - so I can have repairs done?  The machine is the Digital Audio version, M7627LL/A and Serial Number XB******KXQ.
    <Edited By Host>

    Hello USME,
    'Tis a common problem on old Macs.
    Do as Allan says: open the door and blow out all the dust bunnies. Canned air from Wal-Mart or Radio Shack can be handy (though sort of expensive) especially for blowing through the back of the power supply. A cool Mac is a happy Mac.
    Be sure your Mac can breathe. The air intake is on the bottom of the case, so be sure a deep pile rug or too many papers on your desk are not blocking the air supply.
    Feel the power supply and the processor with your hand. They should be warm but not hot; if you have to move your hand away, that's too hot!
    Check the fan on the power supply, and on the processor if it has one. Take a flashlight and peer in the back of the (Mac) case through  the grille; make sure the fan is turning. If it's not, the power supply won't work for long.
    Fans are not considered serviceable, though they will succumb to mechanics of determination. A CPU fan is easy and straightforward.
    A fan replacement will not cure an already damaged power supply; the PS may already be done for. Used power supplies for a DA are hard to come by, and not especially cheap when found (c.$50). An entire  working DA or Quicksilver may often be found for under $100 on eBay, and swapping in your HD is easy and simple... this might be cheaper and more expeditious than repairing an expired DA. Replacing a power supply is fairly easy, but it's a nuisance and requires a 2mm Allen head wrench in addition to the usual #2 Phillips head screwdriver.
    In my experience, power supplies and CPUs are about equally likely to fail. There are a few other possibilities, but they are not nearly so common.
    Good luck!... Jon

  • Can you make a app for texting that dont need wifi for iPod touch

    Can you make a app for texting that dont need wifi for iPod touch

    I don't think that even possible without any kind of connection

  • Can you get reoccurring alerts for text and email received?

    Can you get reoccurring alerts for text, email an voicemail received? I am too dumb for my smartphone.......I have looked on the forums and cannot find an answer.
    I just got my Droid Razr Maxx HD 2 weeks ago and so far I can only find that the "little" green LED light flashes when have a text, email, or voicemail. That light is pathetic..really I can barely see it?
    Is there a way to make an audible alert the reoccurrs?
    Thank you.

    You may want to search for an app in Google Play.

  • Can I make a signature for text messages ?

    Can I add a signature for text messages

    Only if your carrier supports SMS signatures and you would need to go on their website to create one.

  • Can photoshop elements be used for commercial work?

    Can photoshop elements be used for commercial work?

    Check with the company that does your printing to be sure that output from PSE is ok and their file format requirement.

  • Can we know buffers used for a particular program?(not for the instance)

    Can we know buffers used for a particular program?(not for the instance)

    You can do a runtime trace using ST01 but you won´t find out how much buffer a program "uses" since the buffer is shared for all workprocesses.
    Markus

  • Can Firefox Hello be used for three or more way calling or is it only for person to person?

    Can Firefox Hello be used for three or more way calling or is it only for person to person?

    hello again, i've asked in the development channel for firefox hello about this issue: multiparty video-conferencing is on the long-term roadmap but it might still take a lot of engineering (firefox hello is based on the webrtc standard which is a peer-to-peer protocol between two machines only - multiparty calls might be a rather tricky thing to figure out on this basis)

  • Can DBMS_ADVISOR package be used for SQL Tuning Advisor ?

    Can DBMS_ADVISOR package be used for SQL Tuning Advisor ?

    SQL> SELECT * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production

Maybe you are looking for

  • Icloud backup taking too long

    my iphone 4 has been on "icloud backup" for the past 24 hours. I can't use my phone nor interrupt the back up. How can I get out of this?

  • Restrict display of Condition Value in the Conditions tab in Purchase Order

    Dear All, We have a requirement that in the Conditions tab the condition value column should be displayed as blank to users other than those related to Purchasing and Costing. I have checked that there are no standard authorization objects to restric

  • Using M-Audio Firewire 410 on MacBook Pro in addition to external FW drive

    I'm a little hesitant to use the FW 410 on the same (and only) FW bus on my MacBook Pro as the external FW drive that I'm using to host sample files that stream in to use in various Native Instruments apps (Kontakt 3, Akoustik Piano, etc.). Anyone ou

  • How do I get my Lightroom 4 collections back?

    I recently upgraded my computer, and dropped the mechanical drive.  I had to reload my photo files, from a backup sent me from carbonite. I also upgraded to Lightroom 5.  How do I reinstall my lightroom 4 collections which also included the Smugmug 

  • Transformation of 2D image to 3D

    Hi all, I am new to Java3D. I am desperately needing help to complete my work of converting a single 2D image to 3D using Java. What API should I use, or is there some way to do it using JAI API. Please help me. Awaiting your valuable reply. Thanks,