Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jul 2001
    Posts
    280
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Update query (Access 2000)

    I have an update query that diesnt update. it gives no error, but updates 0 records. Why is it so ?
    UPDATE Customers1 INNER JOIN orders1 ON Customers1.Customerid = orders1.customerid SET orders1.customerid = 124;

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Update query (Access 2000)

    First of all, did you really want to change EVERY order in your table so that it was now for the same customer?

    Is there a Customer # 124 in your Customers1 table? What Type of field is Orders1.CustomerID? If you ran your query as a select query, would it return any records?
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  3. #3
    3 Star Lounger
    Join Date
    Jul 2001
    Posts
    280
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Update query (Access 2000)

    Thank you for your reply. I suceeded to make it having only one order in the table.So because of your message i discovered my error and now it is ok

    kind regards
    Markus

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •