Results 1 to 4 of 4
  1. #1
    MidNite is offline Novice
    Windows 10 Access 2002
    Join Date
    Mar 2021
    Posts
    10

    Database Corruption

    I recently got some unusual error messages like "the search key was not found" when clicking on a record and also error messages saying "the record could not be saved."



    Googling the message revealed that it was probably database corruption. I recently had a power outage which is known to cause database corruption.

    On a hunch I thought that the it might be a particular table.

    I imported all the objects into a fresh Access Database except for the suspect table.
    Then I copy the text from the suspect table to a new table.

    The problem seems to be solved.

    My question is: Does Access database corruption occur primarily in tables and is replacing a table a good strategy to fix Access database corruption?

    Thank You

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    There are two possible types of corruption in an Access application
    1. Corruption of data in one or more records in a table. Your approach is valid for that situation
    2. Corruption of compilation code in the VBA project. Decompiling the project is required to fix that. Its quick and easy.

    However, if either type of corruption gets beyond a certain point, the application may be irreversibly damaged and you will be unable to open it or recover its contents.
    Hence the need to make regular backups, during development and once in production.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    MidNite is offline Novice
    Windows 10 Access 2002
    Join Date
    Mar 2021
    Posts
    10
    Thank you for your comments. Regards

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    You're welcome and also welcome to the forum
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

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

Similar Threads

  1. Database Corruption Issues
    By cfwoodbury in forum Database Design
    Replies: 5
    Last Post: 08-09-2020, 10:18 AM
  2. Database corruption question
    By Gina Maylone in forum Access
    Replies: 8
    Last Post: 08-28-2019, 02:32 PM
  3. Frequent Database Corruption - please help
    By scotiwis in forum Access
    Replies: 12
    Last Post: 11-04-2017, 03:21 AM
  4. Replies: 27
    Last Post: 05-01-2014, 12:21 PM
  5. Database Corruption
    By aytee111 in forum Access
    Replies: 2
    Last Post: 09-19-2012, 08:29 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