Results 1 to 3 of 3
  1. #1
    kasimagj is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2011
    Posts
    3

    Angry UPDATE Query won't UPDATE! NO ONE CAN FIGURE THIS OUT!!!!

    I'm trying to update 3 fields from the RANKS table into the RATES table, linking IDs as the unique identifier.



    FOR SOME REASON, the result of running the query doesn't give the message: "ARE YOU SURE YOU WANT TO UPDATE..." instead it spits out a table (shown on the right) and doesn't have any fields.

    If I flip the code to feed RATES into RANKS, it works perfectly...but that doesn't help me.

    The RANKS table is a global table fed by an ODBC connection. That shouldn't affect it, but I'm totally clueless and have been trying to figure this out FOR WEEKS!!!!!!!!!!!!!!!!

    PLEASE PLEASE PLEASE HELP ME, anyone!

    UPDATE dbo_Bid_Rates
    RIGHT JOIN dbo_bid_Ranks ON dbo_Bid_Rates.ID = dbo_bid_Ranks.ID
    SET dbo_Bid_Rates.RATE_RANK = [dbo_bid_Rank].[RANK],
    dbo_Bid_Rates.LC_CARR1 = [dbo_bid_Rank].[LC_CARR1],
    dbo_Bid_Rates.LC_Carr2 = [dbo_bid_Rank].[LC_CARR2];


    picture: https://docs.google.com/leaf?id=0B3M...3Yzg3&hl=en_US

  2. #2
    Stingaway is offline Efficiency Junkie
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Location
    The deep south. Keep going until you hit water basically.
    Posts
    224
    Is your ODBC table in the background dependent or tied to any other table that would keep it from updating? In several of my ODBC databases I find that there are sometimes restraints placed upon tables that are linked to others in the backend database that I may or may not have access to in my front end linked to it.

  3. #3
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Yes, Stingaway is right. If you have an ODBC connected database then the table you want to update MUST have a primary key defined. If it doesn't, then it will not be updatable.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 08-19-2011, 12:16 PM
  2. Update 2 tables with one Update Query
    By Douglasrac in forum Queries
    Replies: 4
    Last Post: 04-14-2011, 08:33 AM
  3. Replies: 1
    Last Post: 01-22-2011, 12:23 PM
  4. Update field in table after update on a subform
    By jpkeller55 in forum Queries
    Replies: 3
    Last Post: 09-30-2010, 08:02 PM
  5. Update Query- selective update?
    By stephenaa5 in forum Queries
    Replies: 1
    Last Post: 10-29-2009, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums