MS Access数据库损坏 [英] MS Access database get corrupted

查看:85
本文介绍了MS Access数据库损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我使用MS Access作为VC ++应用程序的数据库。有时这个数据库被破坏(Pl见附图)。造成这种腐败的原因是什么?我必须做什么,以便数据库不会被破坏?否则,如果它损坏了
,我的应用程序应该如何识别此数据库是否已损坏以及如何以编程方式进行修复?


另请注意,即使数据库损坏了我的应用程序能够正确连接它,当我尝试连接这个数据库时它不会给我任何错误。


我使用的是VS 2010,它是一个MFC应用程序。

解决方案

可能有很多原因。


这是一些关于腐败的好信息的链接


http://www.granite.ab.ca/access/corruptmdbs.htm


Hello,

I am using MS Access as Database for my VC++ application. Sometimes this database get corrupted (Pl see the attached image). What could be the reason for this corruption? What I have to do, so that database do not get corrupted? Or else if it get corrupted, how should my application identify that this database get corrupted and how can I repair programatically?

Also, note that even when database get corrupted my application able to connect it correctly and it do not give me any error when I try to connect this database.

I am using VS 2010 and it's an MFC application.

解决方案

There can be many reasons.

Here is a link to some good information on corruption

http://www.granite.ab.ca/access/corruptmdbs.htm


这篇关于MS Access数据库损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆