MS Access数据库损坏

编程入门 行业动态 更新时间:2024-10-28 16:18:15
本文介绍了MS Access数据库损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好,

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

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

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

解决方案

可能有很多原因。

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

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

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

更多推荐

MS Access数据库损坏

本文发布于:2023-10-16 20:20:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1498630.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据库   MS   Access

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!