Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2003
    Location
    Suffolk England
    Posts
    2

    Unanswered: Unable to Compact MDB File

    I have an access database that will not allow me to use the compact and repair feature. I receive a message saying something like: unable to recognise file, may not be a database file, may be corrupt message.

    I have tried the usual athings - importing objects into another database shell, making an MDE file but none seem to enable me to sort this issue, any suggestions?

  2. #2
    Join Date
    Dec 2004
    Location
    Madison, WI
    Posts
    3,926
    Have you debug-compiled it? If there's an error in the code somewhere, it may not compact and repair. Also make sure you aren't using any keywords for table/field names which it may not like and check that you don't have some functions with the same name causing problems.
    Expert Database Programming
    MSAccess since 1.0, SQL Server since 6.5, Visual Basic (5.0, 6.0)

  3. #3
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    You could also try the JetComp utility from MS.
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


  4. #4
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,422
    Provided Answers: 7
    Have you a memo feild in the database
    last time that happen to me it was a memo feild
    once I delete that record it work ok
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

  5. #5
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    What version of Access is it in? I've had some success by taking database files to different versions.

    What happens when you try to export the objects into another empty database?
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •