I want to use the SQL query IF EXIST to update or insert data in a ms access table, but it doesn´t work

Hi,
I want to use the SQL query IF EXIST to update or insert data in a ms access table, but it doesn´t work
(fault number -2147217900)
I want to search for a value in a ms access table , if it exist i want to update it, if not i want to insert a new row.
Working with LabView 7.1, database con. toolset.
Who can HELP?
Thanks a lot
Marco

Hello,
I think that If exist is not a standar SQL command (I know it exists I think in Oracle and SQL server), MS access doesn't support it, so I think the best way to do it is first make a Select and then either an Update or an insert, sorry...
Paulo

Similar Messages

  • I want to use the SQL Toolkit of NI and SQL Server as my databasis on a server. Do I need to install a client in each computer I want to handle the data into SQL tables or I need only a ODBC driver?

    I want to use the SQL Toolkit of NI and SQL Server as my databasis on a server. Do I need to install a client in each computer I want to handle the data into SQL tables or I need only a ODBC driver?

    You only need the ODBC driver on each computer. If you are distributing the SQL Toolkit app as an executable and do not install the whole toolkit on each computer, you'll need the SQL Toolkit support files. This is about a dozen files. You can get the list at http://digital.ni.com/public.nsf/websearch/b814be005f9da9258625658700550c75?OpenDocument.

  • At the moment I can use my apple Id on my iPod touch to connect to iCloud and IMessage and FaceTime but it doesn't work on App Store. Face to an error: can not connect to iTunes Store. What's wrong? My apple Id is working on my MacBook Pro as well.

    At the moment I can use my apple Id on my iPod touch to connect to iCloud and IMessage and FaceTime but it doesn't work on App Store & iTunes just on iPod  Face to an error: can not connect to iTunes Store. (Setting... itunes & app store)What's wrong? My apple Id is working on my MacBook Pro as well. And it was working on this iPod before resetting . Just after resetting I can not connect to App Store & iTunes and I can not instal any app even free apps

    Try
    Can't connect to the iTunes Store

  • Firefox installed the latest version. Now my google browser, history etc. doesn't work anymore. It doesn't respond. I can't run searches from the browser. youtube button is missing. I've tried opening firefox in safe mode but that doesn't work.

    # Question
    firefox installed automatically the latest version. Now my google browser, history etc. doesn't work anymore. It doesn't respond. I can't run searches from the browser. youtube button is missing. I've tried opening firefox in safe mode but that doesn't work

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    What happens if you open Firefox in Save mode?
    *https://support.mozilla.com/kb/Safe+Mode
    *Help > Restart with Add-ons Disabled

  • HT2404 I'm trying to update apps and download new ones on mi ipad, but it doesn't work... the icons say "waiting" and nothing happens for days!

    I'm trying to update apps and download new ones on mi ipad, but it doesn't work... the icons say "waiting" and nothing happens for days!Help!

    Here are a bunch of things that you can try to get the downloads to resume.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • I recently purchased a shutter release remote for my IPAD camera but the cord is only three feet long.  I purchased a 3 banded AV extension but it doesn't work.  Can anyone tell me what the correct extension cable is and where I can find one?  Thanks.

    I recently purchased a shutter release remote for my IPAD camera but the cord is only three feet long and I need an extension cord.  I purchased a 3 banded AV extension but it doesn't work.  I have been told that I need an extension cord that has AV and Mic to enable the remote shutter release to work with the extension cord.  Can anyone tell me what the correct extension cable is and where I can find one?  Thanks.

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • Hello!I only want to use the sql loader,and then what sould I do?

    Such as the title

    f7ae7c6c-6210-4d88-b8c9-fad38d9ee626 wrote:
    but somebaby say i can
      1> scp [email protected]:/home/oracle/oracle_home/bin/sqlldr/usr/local/oracle/sqlldr
       2> mkdir -p /usr/local/oracle/rdbms/mesg
          cd /usr/local/oracle/rdbms/mesg/
          scp [email protected]:/home/oralce/oracle_home/rdbms/mesg/ulus.msb./ulus.msb
    and then can use the sqlldr
    but somebaby say i can
    Ok, knock yourself out ...
    Guy: Where did you hear that?
    Girl: On the internet
    Guy: And you believed it?
    Girl: Sure. They can't put anything on the internet that isn't true
    Guy: Where did you hear that?
    Girl: On the internet.  Oh, here comes my date.  I met him on the internet.  He's a French Model.
    Guy 2 (with sly wink) : Bonjour
    http://www.youtube.com/watch?v=bufTna0WArc
    ============================================================================
    BTW, it would be really helpful if you would go to your profile and give yourself a recognizable name.  It doesn't
    have to be your real name, just something that looks like a real name.  Who says my name is really Ed Stevens?  But at
    least when people see that on a message they have a recognizable identity.  Unlike the system generated name of
    'ed0f625b-6857-4956-9b66-da280b7cf3a2', which is like going to the pub with a bag over your head.
    Call me a racist, but all you ed0f625b-6857-4956-9b66-da280b7cf3a2's look alike to me. 
    ============================================================================

  • How do I get the old iphones information to my new iphone? i have tried to synk it but it doesn't work

    my other iphone didn't work, so i got a new one. before i got the new phone i saved all the information, and when you then put the new iphone into itunes it should be asking you "do you want to update this to eg. "david's iphone"?" but it didn't ask that. so now all the information are gone and the iphone is empty... what should i do now?

    http://support.apple.com/kb/HT2109
    Everything should be on your computer.  Just sync it to the iphone as you did with the other.

  • HT200084 Anyone else had a problem with the waves plugins on this new update?? got mine wrapped to 64 bit but are now not working?? Failed to open

    as above???

    Thanks so much but none of that helped.  It was driving me crazy because it would back up another external drive.  I just changed the name of the drive from iPhoto/iTunes Library to Media Libraries and IT WORKED!! I guess for some reason it didn't like the drive being called iPhoto or iTunes ???? I don't understand but I have tried so many solutions and exchanging things out but the name change did it????!!!
    Thank you for your help and replying to this.  Guess I made my own issue!

  • HT201274 I erased my iPad to clear but wanted to use my Apple ID this seems to have brought all data back how do I clear but still use my Apple ID to keep the games I have purchased not photos and e mail

    I erased my iPad to give to my son as I have bought a mini.      However all of his games are on my iPad so I used my apply I'd but this seems to have loaded all of my data how do I transfer games only

    I have had the iPad since June 2013. I did buy it new. I want to register it under my current Apple ID so that it shows up in the same place as my other devices when I log on.
    I can't look at any of the service history or anything else related to it unless I can clear it's registration and link it to my active account. Does that make sense?

  • The terrible "RED X" has shown up, and my iPod 6th gen. won't go into disk mode. Tried slamming it against a table, but that doesn't work. What do I do?

    I've had this thing for a long time and it started having the "go to support page on the apple website" red x on the screen. I can't restore it to Disk Mode because it won't let me. I've tried slamming against a table like some people have recommended and I can hear it trying to work on the inside but not totally, and nothing has changed. What do I do?

    There isn't much else you can do other than have the iPod's Hard Drive replaced. Apple can exchange your iPod for a refurbished one of the same generation and capacity or you can send it to a third party service center to have them actually put in a new HD for a little less.
    B-rock

  • Modifying the sql query in doDML of entity

    I am using Jdev 11.1.1.4.0 and SQLServer Database
    I want to modify the sql query in "doDML(int operation, TransactionEvent e)"
    I could check what kind of operation like (operation == DML_UPDATE) and do some additional stuff.. But I want to edit the query because of which we entered doDML..
    I want to edit the query because when i use SQLServer database with SQLBuilder as SQL92, the update statement will have table alias like "update table <table alias>" which the SQLServer is not recognizing.. So I want to remove that alias from sql query in doDML..

    It isn't possible.
    However as per the following MSDN page a table alias is fine in an UPDATE statement so are you sure this is your problem?: http://msdn.microsoft.com/en-us/library/aa260662(v=sql.80).aspx
    CM.

  • Pinning the sql query in cache

    Hi All,
    I want to pin the sql query is cache because the physical reads are very high. Can anyone tell me steps to pin the sql query in the cache. Current version 10.2.1.0 OS : Windows.
    Reads CPU Elapsed
    Physical Reads Executions per Exec %Total Time (s) Time (s) SQL Id
    19,836 38 522.0 2.1 25.40 50.00 1r0wh3v6bayyk
    With regards
    kccrga

    Oscar,
    I've read Carys paper and a good paper it is.
    The point I was trying to get across is that there should be no rules of thumb. (par this one of course ;) )
    It all depends. Should one concentrate on reducing cpu usage on a disk-bound system? Is doing, say, 100 single-block reads from disk faster than doing 100 current mode gets?

  • I want to use the new graphics declarations to draw a bunch of 5px wide circles onto this canvas

    I'm learning this FB 2 IDE.
    Could someone help me out here for a project I want to do.
    Basically what I have is this
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:mx="library://ns.adobe.com/flex/halo" layout="absolute" minWidth="1024" minHeight="768" width="432" height="382">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <mx:Canvas width="100%" height="100%" backgroundColor="#FFFFFF">
        </mx:Canvas>
    </mx:Application>
    I want to use the new graphics declarations to draw a bunch of 5px wide circles onto this canvas but I don't know how. I want to evalve this into a strategy game
    Any code tips would be appreciated
    Is Canvas the best choice to draw stuff onto?
    looking forward to your input and help as this app grows

    Thanks very much so far, awesome code:)
    I now have added some animation and logic.
    If compile this and press start animation you will see what I mean
    I would now like to draw a line from every gray ellipse to every blue ellipse but am not sure of the best way to do this using fxg.(connecting centers and behind the ellipsis)
    Would love some expert advice
    <?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/halo">
        <s:creationComplete>
            <![CDATA[
            setupScene();
            ]]>
        </s:creationComplete>
        <s:controlBarContent>
            <s:Button label="start Animation"
                      buttonDown="startAnimation();" />
            <s:Button label="stop Animation"
                      buttonDown="stopAnimation();" />
        </s:controlBarContent>
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.core.IVisualElement;
                import mx.graphics.SolidColor;
                private var FPS:uint = 20;
                private var delay:uint = 1000/ FPS;
                private var repeat:uint = 100;
                private var myTimer:Timer = new Timer(delay, repeat);
                private var blueTeam:ArrayCollection =  new ArrayCollection();
                private var blueLeaders:ArrayCollection =  new ArrayCollection();
                private function startAnimation():void{
                    myTimer.addEventListener("timer", updateState);
                    myTimer.start();
                private function stopAnimation():void{
                    myTimer.stop();
                protected function setupScene():void {
                    for (var i :int = 0;i< 8;i++){
                        var c:bCirc = new bCirc();
                        c.x = uint(Math.random() * 400); // random X position
                        c.y = uint(Math.random() * 300); // random Y position
                        blueTeam.addItem(c);
                    for (i = 0;i< 2;i++){
                        var c2:bLeader = new bLeader();
                        c2.x = uint(Math.random() * 400); // random X position
                        c2.y = uint(Math.random() * 300); // random Y position
                        blueTeam.addItem(c2);
                private function updateState(event:Event):void{
                    for each (var o:IVisualElement  in blueTeam ){
                        o.x ++;
                    for each (o  in blueLeaders ){
                        o.x ++;
                    render();
                private function render():void{
                    //clear all items from displaylist
                    removeAllElements();
                    for each (var o:IVisualElement in blueTeam ){
                        addElement(o );
            ]]>
        </fx:Script>
        <fx:Declarations>
            <fx:Component className="bCirc">
                <s:Ellipse width="30" height="30" alpha="0.8">
                    <s:fill>
                        <s:SolidColor color="0x0000ff" />
                    </s:fill>
                </s:Ellipse>
            </fx:Component>
            <fx:Component className="bLeader">
                <s:Ellipse x="0" y="0" width="30" height="30">
                    <s:fill>
                        <s:LinearGradient x="0" y="0" rotation="90">
                            <s:entries>
                                <s:GradientEntry color="#FFFFFF" ratio="0" alpha="1" />
                                <s:GradientEntry color="#000000" ratio="1" alpha="1" />
                            </s:entries>
                        </s:LinearGradient>
                    </s:fill>
                </s:Ellipse>
            </fx:Component>
            <fx:Component className="RCirc">
                <s:Ellipse width="30" height="30" alpha="0.8">
                    <s:fill>
                        <s:SolidColor color="0xff0000" />
                    </s:fill>
                </s:Ellipse>
            </fx:Component>
        </fx:Declarations>
    </s:Application>

  • I lost my connection when I was using internet and when I want to reconnect to airport it give me connection timeout error, I changed my password on router but still doesn't work. How can i fix my problem?

    Hi,
    I lost my airport connection when I was using internet and when I wanted to re-reconnect to airport it gave me connection timeout error, I changed my password on router but still doesn't work. How can i fix my problem?

    Hello there hastibahreini,
    It sounds like you were using your Wi-Fi network from your Airport base station and the connection cut out. You have reset the password on the device but the issue persists. I would try the 3 resets outlined in the following article in order to help resolve the issue. If it persists, is the Wi-Fi connection issue happening on more than one device or computer?
    Resetting an AirPort base station FAQ
    http://support.apple.com/kb/ht3728
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

Maybe you are looking for

  • How do I delete duplicate songs from my iPhone 5s?

    Almost all of my itunes music shows up twice on my iPhone, but not in my iTunes library. I've tried to delete one of the duplicates from my actual iPhone, but that doesn't work. How do I fix this?

  • Cannot restore from Time Capsule after hard drive replacement (recall)!

    Hard drive was replaced on a recall from Apple. I have spent weeks on the phone with Applecare whose conclusion now is that a WD drive I had connected about a year ago (and which was disconnected and software uninstalled) has corrupted the files on t

  • Essbase security sync issue with Shared Services v 11.1.2.2

    Hi, We are using Essbase version 11.1.2 (ESB11.1.2.2.102B025) and shared services version 11.1.2.2.300.6001 (Drop 6) Foundation Services is on a cluster evironment, windows 2008 64 bit. Essbase is on Unix Sun Solaris. We encounter an issue in which e

  • Error in product registration process, what can I do?

    Hi, after purchasing a Mac pro in a third party reatil store (Germany), I tried to register the product on my support page. But after entering the serial number, all i got was the message "Leider scheint das Kaufdatum für die eingegebene Seriennummer

  • Goods Issue reversal with 262

    Dear Friends, Is there any exit to have the same batch number while reversing GI for partial quantity with 262 movement in MB1A which was used in case of 261 movement for Goods Issue against the process order. Kindly share your valuable viewpoints fo