Results 1 to 4 of 4

Thread: How to specify the table containing the records you want to delete

  1. #1
    Join Date
    Nov 2008
    Posts
    240

    How to specify the table containing the records you want to delete

    I have a table with numerous records in it, and am attempting to delete certain records that have been selected from it. It gives me following error message saying "Specify The Table Containing The Records you want to Delete", So please let me know how do I create a record deletion system within my MS Access project so that I can store a copy of updated records into a temporary table before deleting them from a table.

  2. #2
    Join Date
    Oct 2008
    Posts
    119

    Re: How to specify the table containing the records you want to delete

    Never tried to delete using a join; I assume that that is where the problem is. Although I also generally don,t include column names because you're deleting an entire row, not just data within those rows, a Parameter and ask the user for the Parameter value since the Table is not in the FROM clause. I'm not sure how your tables are set up. If you have set up relationships to tblPersonalInfo and have set Cascade.

  3. #3
    Join Date
    Feb 2008
    Posts
    130

    Re: How to specify the table containing the records you want to delete

    Unfortunately none of these solves the problem I am having. It still does not know what table I was to delete from. I copied and pasted your statement below into the SQL window, and was able to perform the deletions. Changes in the Microsoft Jet database engine included with Microsoft Access 2000 cause the program to handle the SQL.

  4. #4
    Join Date
    Feb 2009
    Posts
    56

    Re: How to specify the table containing the records you want to delete

    To resolve this error, set the query's UniqueRecords property to No by following these steps:

    1. Open the select query in Design view.
    2. If the property sheet is not already open, on the View menu, click Properties.
    3. Click an empty area in the upper half of the query window so that the property sheet displays "Query Properties" in the title bar.
    4. Set the UniqueRecords property to No.
    5. Save the query, close it, and then run the query. Note that you may now update the data in the query.


    SOURCE:http://support.microsoft.com/?id=207761

Similar Threads

  1. Replies: 3
    Last Post: 19-07-2010, 04:23 PM
  2. SQL Query For Copy records from one table to another
    By Bellamy in forum Software Development
    Replies: 4
    Last Post: 23-05-2010, 12:36 AM
  3. PHP mysql select unique records from one table
    By Captain Carrot in forum Software Development
    Replies: 6
    Last Post: 13-05-2010, 12:18 PM
  4. Select unique records from a table
    By Conraad in forum Software Development
    Replies: 5
    Last Post: 13-05-2010, 12:01 AM
  5. Unable to delete records from Two Joined table
    By Broot in forum Software Development
    Replies: 3
    Last Post: 22-09-2009, 03:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,542,927.86820 seconds with 17 queries