Results 1 to 4 of 4
  1. #1
    ck4794 is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Oct 2013
    Posts
    80

    deleted record error after delete query


    So I have a form, the record source is select... blah blah blah criteria is a "search" bar. Looks up the record just fine. Click a button, opens a "confirm you want to do this form". Click a button, on click event is to run an append query, to put that record in an archive, and then a delete query to delete the record from the main table. no problems here. i close the "confirm you want to do this" window. no problem. then the form where i looked up the record and started this whole process gives me a "record is deleted" error every time i go to close it. i've tried "after update" requery, "setvalue to null" and everything else i can think of. i don't know what to do from here.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    I think you can turn the warnings off globally or do it for specific events via VBA.

    I usually call the original form and do a save before the process runs. Then when you gain focus on the form again, there is no change noticed. The save happens while the form does not have focus.

  3. #3
    ck4794 is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Oct 2013
    Posts
    80
    i'm not sure that's where to go. there is a save before it opens the second form.

    it also goes back to the first form where it looked up the record i wanted to delete, and is now showing the #deleted from all the fields that were in that table.

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Well, I don't know what else I can offer. You can turn off the warning or you can save the form while there is not any focus.

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

Similar Threads

  1. delete query produce #deleted in all deleted values
    By learning_graccess in forum Queries
    Replies: 2
    Last Post: 03-31-2012, 07:20 AM
  2. #Deleted issue with Delete/Append Query
    By WendyCha in forum Access
    Replies: 4
    Last Post: 08-05-2011, 08:34 AM
  3. Replies: 3
    Last Post: 07-27-2011, 02:07 PM
  4. Replies: 4
    Last Post: 06-14-2010, 02:31 PM
  5. Error "Record is Deleted"
    By koper in forum Access
    Replies: 8
    Last Post: 03-10-2009, 10:20 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