Sub或Function未定义的问题 [英] Sub or Function not defined problem

查看:1319
本文介绍了Sub或Function未定义的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据库中有以下几行代码

I have the following lines of code among others in my database

展开 | 选择 | Wrap | 行号

推荐答案

什么是strModule?你在运行什么版本的Access?你在那台机器上安装了多个版本吗?


Jim
What is strModule? What version of Access are you running? Do you have multiple versions installed on that machine?

Jim


你能在空代码模块上运行它吗?
Could you be running it on an empty code module`?


这只是本文中描述的一个更大项目的摘录:如何导航到模块或类模块中的特定过程。我让它在一个数据库中工作,但是当我试图将它复制到另一个数据库时,它就不能工作了。


strModule是一个包含模块名称的变量我想要导航。


@TheSmileyCoder我不知道你问的是哪种方式。代码在一个只有一个程序的模块中运行。我正在引用的模块中也包含代码。
This is just an excerpt from a larger project described in this post: How to navigate to a specific procedure in a module or class module. I got it to work in one database, but when I tried to copy it over to another database, it won''t work.

strModule is a variable containing the name of the module to which I want to navigate.

@TheSmileyCoder I''m not sure which way you are asking. The code is being run in a module that only has this one procedure in it. The module that I''m referencing also has code in it.


这篇关于Sub或Function未定义的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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