Results 1 to 4 of 4
  1. #1
    pinecrest515 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Posts
    31

    Quick question about deleting records

    Quick question:



    I was having problems earliers with delete statements on Access queries. In effort to debug earlier problems, I started with a very simple query:

    DELETE *
    FROM table1 where [Last_Name] = 'Smith';

    I got records "deleted" from table 1, but NOT physically. The "deleted" records were instead marked as "#deleted" for each column entry. Is there a way to make the deleted records disappear on table1?

  2. #2
    Rixxe is offline Blessed Bear
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Location
    London (Essex ... yep!)
    Posts
    184
    DELETE FROM table_name
    WHERE some_column=some_value

    http://www.w3schools.com/Sql/sql_delete.asp

  3. #3
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    close the table1 and open it again. the records will be gone.

  4. #4
    pinecrest515 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Posts
    31
    Thanks! Appreciate it!

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

Similar Threads

  1. tabbed forms .. QUICK question!
    By kroenc17 in forum Forms
    Replies: 2
    Last Post: 12-01-2010, 08:38 AM
  2. Quick Question
    By Imgsolutions in forum Access
    Replies: 3
    Last Post: 07-19-2010, 11:22 AM
  3. deleting records
    By radicalrik in forum Queries
    Replies: 2
    Last Post: 07-14-2010, 03:10 PM
  4. Replies: 2
    Last Post: 06-30-2010, 12:26 PM
  5. Problem Deleting Records with ADO
    By bdicasa in forum Programming
    Replies: 0
    Last Post: 08-21-2008, 09:27 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