SQLite error in Flex/Air application:

I'm doing a simple query from inside and demand for Air SQLite:

Statement.text = 'SELECT Ingredient' +
           'FROM Ingredients'+ 
           'WHERE FoodCatagory_FK = 6'

It works fine when I exicute the query in SQLite Manager, however in the Air, I get the following error:

SQLError: 'Error #3115: SQL Error.', details:'near 'FoodCatagory_FK': syntax error', operation:'execute', detailID:'2003'

Don't know why it doesn't work, it seems pretty Strait forward.

Thank you

Hello

You must leave a space either after

Ingredients

or before

WHERE FoodCatagory_FK

Thank you

Tamil

Tags: Flex

Similar Questions

  • Twitter Feed within a Flex/Air Application

    I'm trying to move forward an appilcation I created so that it integrates a live webcam that is twitter account when users access the application their own Twitter account is shown it contains and is updated live.

    I have no experience in using either twitter itself or how to integrate twitter feeds specifically in a flex/air application and I was wondering if someone can tell me exactly what I need to do to get there?

    Another addition that my client asked is the use of live images. The application itself is basically an interactive favorites with users clicking menu on and adding links to sites within the app. Each of these links is represented by an icon that is actually a screenshot of each site. I want to change this so that those images, direct change AS the site themselves so that they are constantly updated. Is this also possible at all, and if so someone can give me advice on how this could be done?

    Get your twitter RSS feed

    Put it in a flex RSS reader

  • How to record the date in Sqlite in an Adobe Air application

    Hi friends,

    I make a flex Application Adobe AIR with SQLITE database, what I want save the Date in the following format DD/MM/YYYY text but in my TABLE, I gave the data type is DATE.

    It store the value as this Sun Dec 2 00:00:00 GMT + 0530 2012 I want to store the value in MM/DD/YYYY. How to do this?

    looking for a useful suggession.

    See you soon,.

    B.Venkatesan.

    Oops, didn't check my email several days who have not noticed your answer

    not to get a Flash Builder in my desktop

    But it should be:

    private var Totaldays:int;

    TotalDays = Math.Floor (Math.abs (date1. valueOf() -date2. valueOf()) / (24 * 60 * 60 * 1000))

    Beware of the date1.valueOf () returns the number of milliseconds since midnight January 1, 1970

    If you really want Totaldays to become a chain, then:

    TotalDays =String (Math.floor (Math.abs (date1. valueOf() -date2. valueOf()) / (24 * 60 * 60 * 1000)))

  • GTIS-90086 'Lack of 64 bit support' error downloading Adobe Air application questions

    Hello

    I have an Adobe Air based application which I previously downloaded using the iTunes connect application loader.

    Today, I get the error: ERROR ITMS-90086 'Missing Support 64-bit' iOS apps submitted to the App Store must include 64-bit support and built with iOS SDK 8 or later.

    It's weird because the 64-bit requirement has existed for some time and I use the same build method has been accepted previously.

    I tried the building without the extensions to exclude third party extensions. I have updated to the latest version of the Air SDK and use new certificate/provisioning profiles.

    Any ideas, what has changed?

    Tom

    Try to update Application Loader 3.1 or newer or install xcode last

  • Lock a Mobile Flex/Air application in landscape mode?

    Hi all

    Is there an easy way to lock an application in landscape mode?

    I have passed through the web and API, but can't really find out how do.

    Kind regards

    / Lars

    Lars salvation,

    You can doe this in the application descriptor file.

    Just add:

    fake
    landscape
    true

    Welcome them

  • What do I need build and deploy a standalone Flex/Coldfusion application?

    I've been a CF developer for almost 10 years, but have no experience with Flex. I have a new opportunity to create stand-alone Windows-based applications. I studied .NET and I'm not impressed because it just seems to be unnecessarily complex and bloated. Instead, I look through my experience of CF and taking a serious look at Flex with ColdFusion.

    My application must run on the PC which can be found on ships at sea. Their only link to the Internet is through a satellite modem. The stand-alone app must have entered data, which are stored in a local database. When the boss is ready, he or she turn on the modem, will transmit the backup data (it takes about 10 seconds) and turn off the modem. This means that the application code, the environment of execution, data base and services (for example ColdFusion CFC) must all be loaded on the PC. In addition, I don't want the application runs in a web browser (a lot of boats have older versions of Windows and IE).

    I understand that I should be able to do using the AIR runtime.

    Here are my questions/challenges:

    (1.) the application itself must be provided free of charge. I had to purchase a license for each copy installed the ColdFusion application?

    2.) if I have to pay a license for each installation of CF, Flex 4 will work with an engine open source CF for example open BlueDragon or Ralio instead?

    (3.) the suggestions about the database should I use (e.g., Derby, H2, SQL Server Express)?

    Installation 4.) should be simple. Skippers should be able to download an installation file (for example a .exe) and run it. The installer must install the database, the last player Flash for Windows, the engine of the CF and the .swf files generated, swc files, etc.. Can all this be delivered upward when FlashBuilder and/or AIR prepares an application for deployment? When the application is run, it has to start the database engine and the CF engine and more front-end Flash.

    I'm looking forward to your answers with your fingers crossed. This project has the potential to create a very cool and unique app!

    Tools:

    (1) flash builder to build flex/AIR applications

    (2) sqlite by all means

    (3) see 1.

    (4) no need to use anything, but air to talk to sqlite.

    seems you almost "managed", perhaps a few examples will help to clarify:

    a little Googling & to search the adobe website (http://www.adobe.com/devnet/air/flex/) should turn up many others.

  • Tutorial on the edition of Flex/Air app for Mac App Store, or simply using Developer ID for general distribution

    Everyone set up a tutorial on the publication of a Flex/AIR application for distribution as an OSX desktop application, or through Mac App Store, or just simply using the developer Certificate ID?

    In my time as a Flex developer, I've seen some well documented things and some that you had to dig for, but find clear instructions on this is really hard! I would have thought post your Flex/AIR application as a standalone application (captive runtime) users directly or through the Mac App Store (Apple Developer ID certificate signature) would be something that many people are trying to do. But most of the useful post there are dated or incomplete, as well as specifically targeted to iOS. In addition, whenever the AIR SDK changes it seems that many of the recent posts are no longer valid at certain stages.

    Many thanks for anyone who can provide some pointers or suggestions!

    The page of the official doc on presentation of the Mac App Store has been updated there is a little more than two months, recent changes in the recent SDK:

    http://helpx.Adobe.com/Flash-Player/KB/posting-air-app-Mac-app.html

    It must be current, even if I think I see typo in one of the appeals of command line that mentions "textcodesign", when it should just be "codesign".

  • Air applications require Flash Player?

    Well, this question may sound silly, but you please help me with my basic doubt. Applications created in Flex (AIR application) requires Flash Player on the client side or simply install AIR on the client side will do?

    No, just the AIR runtime is enough. Air application uses the airglobal.swc for compilation.

  • Running files in Flex/AIR

    Hello.
    I created a simple Flex/AIR application and I wanted to start a presentation power point the application when the user clicks a button "launch". I need not the presentation power point to run in my application, it can work on the desktop (Windows XP). Wasn't sure if it was possible to launch files from AIR.

    Thank you.

    "jcahill23" wrote in message
    News:gqnpg7$R75$1@forums. Macromedia.com...
    > Hi.
    > I have created a simple Flex/AIR application and I wanted to start an outlet
    > presentation of the application when the user clicks a button "launch". I have
    > do not need the power point presentation to run it in my application
    > can work
    > on the desktop (Windows XP). Wasn't sure if it was possible to launch
    > removal of in the AIR.

    http://www.jeffryhouser.com/index.cfm/2008/4/22/using-air-to-launch-other-applications

  • Error when you try to install any of my project from flex builder air application

    I have a serious problem, I can not install any air in my project AppTest exported file. I get just an error saying: "sorry, an error occurred. The application could not be installed because the AIR file is damaged. Try to get a new AIR of the author of the application file.

    I use FlexBuilder 3 to create and export my app release. If anyone can help me I would be very happy.

    Adam

    I managed to figure out what was causing the problem, I had a special png image in my assets projects folder that seemed to be the culprit. Once I took it off the app installs fine? Really weird?

    Adam

  • convert adobe flex web app for playbook air application?

    Hey, I am very new to this sort of thing and was using a Visual tool to help me create applications web flex. My question is can I convert these to operate as air apps on the playbook?

    Given that I don't really know action script.

    Also, can you recommend any good books, tutorials, or interactive Web sites that would help me to learn action script? Thank you!

    Some MX controls (OK, a lot) are not supported under the BB SDK.  For example, mx. Alert does not work, you must use the AlertDialog QNX class.  See docs QNX to:

    http://www.BlackBerry.com/developers/docs/airapi/1.0.0/index.html

    In addition, FlashBuilder is the IDE that is supprted, Flex Builder (3.x) is not supprted.  FlashBuilder 4.x is what you need, but which is not supported under Linux.  You should be able to download the 0.9.1 BB SDK for Linux and the use of the CLI version for a project of will.

    If you are a Flex application, you need to change the root node of a node (Application or WindowedApplication) AIR (if not already done).  If so, act like and more taking orders from MX which are not supported, I keep your business logic and simply change the front-end server with native controls of QNX/BB.

    But first, I would try just get a "Hello World" application to compile and run as an AIR application and then send it on the Simulator to get their feet wet.  then see what it would take to get your application scope.

    Hope that helps.

  • Failed to launch! ApolloLaunchDelegate.fileDoesNotExist! in Flash Builder when debugging AIR applications

    Hello world

    I use flash/flex builder for years, but have never tried to create an AIR application before.  I tried to create a 'Hello' world app before wearing some of my stuff by following the instructions here:

    http://help.Adobe.com/en_US/air/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a28bd-8000. HTML

    "but when I try to debug the code, I get the a dialog box"Unable to launch"with the useless comment! ApolloLaunchDelegate.fileDoesNotExist!'.

    I'm running win7x64, SDK 4.1

    I tried all kinds of different files in the AIR, including the value by default when you create an empty project and the conversion of copies of some of my existing flex projects on the desktop, but they all give the same message.

    Google does not help.  Any ideas would be welcome.

    Kenneth

    EDIT: just tried the same thing on my same version of flash builder on my laptop and it works... The laptop working Vistax64.  The only other different is that when I chose SDK 4.1 in the new project dialog box, he said, AIR 2.0, while on this machine, say, he needed air 1.5

    Post edited by: kennethGilpin

    Hello

    You can check whether a SWF file has been generated in your bin-debug folder? Looking at the code FB, this happens when the SWF file does not exist. (Although I don't know why the error message is incorrect for you. Did pass you to FB 4 to 4.0.1 or are you on an own 4.0.1 install?)

    Try to check your view of 'Problems' to see if there are any compiler errors.

    Thank you

    Rémy

  • Run the Air Application

    People,

    I'm new to Flex and decided to follow in the article of August EDGE "learn how to build your first application with Adobe Flex 3". I have a copy of Flex Builder 3 Professional (trial version not). The article comes to a point where it says to run the application. Be familiar with Eclipse, I guess that means that a click on the button to run. But nothing happens. I don't see any errors in the issues window pane so it should work fine? At some point I closed and he did it again and when you click on something he an indication, he was doing something, but she came back with a mistake on the Flash Player debug installed. (I remembered it recently, I installed Adobe Master Collection and thought that it may have replaced the version of debugger.) So, I went to Adobe and downloaded the debugger for my Mac to Intel processor and reinstalled. But when I click the icon run the Air application when main.mxml is selected, still nothing happens. I also noticed the clean option and ran that to rebuild things - but still no luck.

    Could someone please help to guide me in what I need to do to get my AIR application to compile and run in Flex Builder?

    Thanks in advance,
    Jack

    Check the config of .app file. Is set visible to true? What about width and height?

  • Flash Builder 4 doesn't have the 'BlackBerry Tablet AIR Application".

    I'm trying to get the HelloWorld application to work, but I can't find the "BlackBerry Tablet AIR Application" option. It should appear in the debug configuration, but it's not.

    I already have the Simulator works and correctly installed the Playbook SDK (link to version 2.5 SDK and Flash Builder). I have no error in compilation (QNX namespaces are used), I think that the installation has been correctly executed.

    Any ideas?

    You need to update to 4.0.1 FB. See release notes.

  • Logic of SQLite error

    While I'm inserting a set of values of string to be the SQLite database in my Blackberry application, I get this Exception.

    net.rim.device.api.dataabse.DatabaseException: INSERT INTO SODetails (Wono, Ettc, Time, Comments, City, Shipname) Values ('029648', ' 8,00', 'A0600', 'Problem', "Edmonton", "WENDYEST"QL logic error or missing database. ")

    Can anyone help?

    INSERT INTO SODetails(Wono, Ettc, Time, Comments, City, Shipname) VALUES ('029648', '8.00', 'A0600', 'Problem', 'Edmonton', 'WENDYS')
    

    should work since SQLite will not accept a value with an apostrophe inside.

Maybe you are looking for

  • NVIDEA GeForce GT530 connector problem.

    I have a NVIDEA GeForce GT530 graphics with 1 DVI and 1 USB connector.  There are two DVI monitors.  Are there adapters that will allow a USB DVI-connection, or do I need another card to run 2 monitors?  It was my understanding that the card would be

  • Folder names are not displayed in My Documents

    All the folder names under each folder in My Documents normally have disappeared.I still have photos displayed on the front of the albums photos etc but not names under any folder.Help, please! How to display folder names?

  • Cannot delete all programs using Add/Remove programs

    only can delete a select few programs not the full set of 2 or 3 parts of a program even after uninstalling the main program of the suggestions

  • Scroll and custom button image

    Hi all I'm having some difficulty with it. I have now managed to get a scrolling image downloaded from a url. I now place buttons above the image scroll, previous and next buttons.  But I can't seem to the paint without knocking the image scrolling.

  • Slide template image disappears when loading

    I have a responsive project designed in 9 Captivate that works fine in the preview, but encounter problems when publishing.The background image (a .png 500Ko) for the breakpoint Office positioned on the master slide on top of two smartshapes does not