0

I'm a web developer who's taken over an ADP project and needs help with the Windows and Access Environments.

I was coding in VBA in Access 2007, and would at times need to rebuild the project by importing forms, reports, and modules due to corruption issues. I believe these issues were caused by run-time errors during coding.

I've upgraded to Access 2010 (Office Suite 2010 32-bit) on a Windows 7 Machine (64-bit). The same (I believe) corruption issues in Access 2010 are invoking the following error:

After making changes in my project, I will save, exit, and attempt to open the project. Access 2010 displays a message box "Access has stopped working". I click "debug" and Windows attempts to open the Visual Studio Just-In-Time debugger, with the following:

An unhandled win32 exception occurred in MSACCCESS.EXE [6648]

I exit out of Access 2010 and attempt to reopen the file and it throws the same exception. I exit out again and attempt to open Access 2010 by itself, and Access attempts to create a Backup copy of the same file. The process fails and throws the same exception. I can open Access by holding the shift key while double-clicking, but when I attempt to rebuild the corrupted version I get the same error message as above. So my rebuild is failing, and I'm stuck in 2010. I can rebuild in 2007, but would like to fix this on this brand new machine which would be sweet to develop on.

4

1 回答 1

0

我有同样的问题。我继承了一个 Access 2003 数据库,其中包含我没有参与设计的报告。我将它转换为*.accdb(MSAccess 2007)文件,这个错误一直令人头疼。有时它会在备份和使用备份后立即工作,有时则不能。

除报告外,所有其他查询和表都运行良好。该报告唯一的特别之处在于它使用了一个宏,其“SetValue”操作为“[Page], 0”。

查看http://msdn.microsoft.com/en-us/library/bb177384(v=office.12).aspx并看到“注意,如果数据库不受信任,则不允许执行此操作。” 在页面顶部,我回到我的数据库,将信任中心的宏设置更改为“启用所有宏”,选择文件,然后退出以退出数据库并重新打开。

于 2014-11-20T14:36:08.080 回答