Access Runtime 2007 Ucase-Function 失败,需要解决方案或错误跟踪帮助

发布于 2024-10-17 10:55:50 字数 631 浏览 0 评论 0原文

我正在运行一个 Access 2007 数据库,该数据库由仅具有 Access 2007 运行时的用户填充。 该应用程序最初是在WinXP和Acess 2007上开发的,现在我在Win7和Access 2007上开发。

由于我重新保存了该应用程序,每个使用XP的客户端在调用Ucase函数时都会遇到错误。

出于调试目的,我将主窗体的 Load-Sub 更改为单个语句,

bla = Ucase("foo")

该语句向客户端显示存在运行时错误且应用程序已停止的错误消息。

我在子程序中包含了错误处理,使其看起来像这样:

    On Error GoTo handle
    bla = UCase("foo")
handle:
    MsgBox Err.Number & ":" & Err.Description

奇怪的是,运行时会忽略句柄。

该问题不会出现在任何完整安装 Access 2007 或 Windows 7 的客户端上。

我有点困惑 Windows 版本与它有何关系。

任何帮助解决问题或提示获取特定错误代码的帮助都将不胜感激。

问候,

坦纳利

I am running a Access 2007 database which is filled by users which only have Access 2007 Runtime.
The application was initially developed on WinXP and Acess 2007, now I am on Win7 and Access 2007.

Since I resaved the application, every client using XP encounters an error whenever the Ucase function is called.

For debugging purposes, I changed the Load-Sub of the main form to the single statement

bla = Ucase("foo")

Which brings the clients to the error message that there was a runtime error and the application has been halted.

I included error handling in the sub making it look like this:

    On Error GoTo handle
    bla = UCase("foo")
handle:
    MsgBox Err.Number & ":" & Err.Description

Strange enough, the handle is being ignored by the runtime.

The problem DOESN'T show up on any client with either a full Access 2007 or Windows 7 installation.

I am a bit confused how the windows version has anything to do with it.

Any help to either solve the problem or Tipps to get to a specific error code would be greatly appreciated.

Regards,

tannerli

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无边思念无边月 2024-10-24 10:55:50

一般来说,当标准函数开始抛出错误时,这是​​因为对某些内容的引用已损坏。当任何引用被破坏时,所有引用都会失败,即使对于标准库也是如此。您很可能已经设法引用了 Windows XP 上不可用的某个库的较新版本。

Generally speaking, when standard functions start throwing errors, it's because there's a broken reference to something. When any reference is broken, then all references fail, even for the standard libraries. Chances are, you have managed to reference to a newer version of one of the libraries that is not available on Windows XP.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文