Results 1 to 3 of 3
  1. #1
    data808 is offline Noob
    Windows 8 Access 2007
    Join Date
    Aug 2012
    Posts
    727

    Append and Delete Records in Table


    I have an append and delete system set up in Access to archive the records in another table. Was just wondering if I am able to do this while users are in the frontend updating records. I will be doing this for old records (2014-2015) and probably won't have users looking at any of these records but was just wondering if this was safe? Should I wait till everyone is logged off to do this type of archive? Thanks.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    5,007
    Yes, that would be a good idea.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,818
    If there are no record locks involved at the time then it won't matter. If 2 users attempt to modify the same record or separate records that are contained within the same page, then the second user who accesses that page could get a conflict error - depends on the record level locking option that you have set. So research on record locking in Access might be a good idea. Another option would be for you to open the db exclusively, then no one else can interfere - but of course, this requires that no one else has a connection to the be at that time. Usually it's better to flag records so that they're "archived" rather than actually moving them to some archive table if that's what you're doing. Regardless, even that approach would require that no one has already put a lock on those records, which as you stated, is unlikely. Access will warn the user who last modifies a record and attempts to save if 2 or more have been editing it at the same time.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 3
    Last Post: 10-06-2020, 02:09 AM
  2. Replies: 19
    Last Post: 10-03-2017, 09:10 AM
  3. Runtime error 3211, delete table, append DAO properties
    By cfrancisco523 in forum Programming
    Replies: 5
    Last Post: 07-05-2017, 10:24 AM
  4. Delete does not delete records in evey table
    By LaughingBull in forum Access
    Replies: 5
    Last Post: 09-01-2015, 04:05 PM
  5. Replies: 2
    Last Post: 01-24-2012, 02:16 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