Results 1 to 3 of 3
  1. #1
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591

    Compacting Error on .mdb Back End


    I added an Autonumber to a "largish" table that never had a true primary key. There are 165,000 records. There is a 5 part composite one that makes my head spin. I have kept the Back End as an .mdb file since we were in a transition period and still are to an extent. The new front end is an .accdb file. So the rub is when I try to compact it I get this error.

    Click image for larger version. 

Name:	compact error.JPG 
Views:	10 
Size:	20.3 KB 
ID:	23827

    I'm not sure what to make of this. I'm considering deleting the Autonumber field, since I'm not sure I want to do all the dirty work of incorporating it throughout the application.

    Any thoughts.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    it could be because youre using 2 different versions. I had this once.
    Can you make both ends in the same version?

  3. #3
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591
    I saved it as an .accdb and now it compacts normally. My intention was to preserve the .mdb back end as an escape hatch in case the old front end was needed in an emergency. I'm a little disappointed that I can't do so. Not too surprising considering Access 2003 is quite old. It has worked perfect as a back end, till now at least. Suppose it's time to move on.

    Thanks for your help.

    Paul

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

Similar Threads

  1. Replies: 4
    Last Post: 05-21-2012, 08:21 AM
  2. #NAME? Error keeps coming back
    By tharless in forum Access
    Replies: 24
    Last Post: 02-09-2012, 03:10 PM
  3. db compacting
    By aiken_Bob in forum Access
    Replies: 5
    Last Post: 06-25-2010, 01:22 AM
  4. Compacting When Closing?
    By Sean04 in forum Access
    Replies: 5
    Last Post: 03-19-2010, 01:16 PM
  5. Compacting MS Access
    By ksenthilbabu in forum Access
    Replies: 4
    Last Post: 08-20-2009, 04:22 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