Results 1 to 6 of 6

Api

  1. #1
    bramoin is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2011
    Posts
    3

    Api

    Hi,
    When i used access to open a database, it detects and says that it is corrupt and if i want to recover. Is this available through the API?
    thank you,
    Bramoin

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    I would start by *importing* everything into a fresh new db and see if the problem follows: http://www.btabdevelopment.com/ts/impnew

  3. #3
    bramoin is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2011
    Posts
    3
    I am trying to implement this through C# code not through manual opening of the database.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    You will need to clear the corruption before you can do anything useful.

  5. #5
    bramoin is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2011
    Posts
    3
    At this point, i just want to programtically identify that there is a problem or not with the database being opened. I agree that i need to fix the corruption.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    I'm not sure you can do that in code without user intervention. If there is a way, I'm afraid I do not know of it, sorry.

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

Tags for this Thread

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