Results 1 to 2 of 2
  1. #1
    jo15765's Avatar
    jo15765 is offline Expert
    Windows XP Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672

    Problem With Delete Query


    I have two tables in access 2000 linked together to isolate the records I want to delete. I have them linked by 3 key elements that would leave no doubt they are the records in question. When I change my view from a select query to a delete query, I get a message that states "Specify table containing records to delete"

    What did I set up wrong?


    Now I get this error:

    Single-row update/delete affected more than onen row ofa l inked table. Unique index contains duplicate values

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Access does some strange things when you create a query in the QBE grid and one of them is delete queries with linked tables. What you need to do is go into the SQL View and fix the SQL so it is trying to delete from the right table.

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

Similar Threads

  1. Trying to Delete record using delete query
    By MooseOTL in forum Access
    Replies: 13
    Last Post: 10-04-2011, 02:30 AM
  2. Delete Query
    By Cheshire101 in forum Queries
    Replies: 3
    Last Post: 06-29-2011, 08:35 AM
  3. Replies: 11
    Last Post: 03-30-2011, 01:08 PM
  4. Problem using rst.delete
    By P5C768 in forum Programming
    Replies: 3
    Last Post: 03-10-2011, 11:08 PM
  5. HELP with Delete Query
    By brown in forum Queries
    Replies: 1
    Last Post: 04-22-2009, 10:11 PM

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