Results 1 to 4 of 4

Thread: repair Access db with code

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374
    Hey - sorry if this appears twice, think my browser crashed -

    anyway, I am wondering if it is possible to repair an Access database with VB code? I know how to compress it with DBEngine.CompressDatabase

    is there a routine or tool that I could use so that my users could repair screwy databases without using Access?

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    DBEngine.RepairDatabase

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374

    Red face

    That doesn't appear as one of the options under DBEngine in my project. Is there a reference that I need to set for that?

    BTW JHaussman thanks for all of the help today!

  4. #4
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    I know you'll get it with DAO, not sure about ADO.

Posting Permissions

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



Click Here to Expand Forum to Full Width