Access中引用公共变量

Access中引用公共变量

本文介绍了在MS Access中引用公共变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试引用我在表单模块中声明的公共变量,但是调用它的用户模块无法识别它。我已经有几年没用过VBA了,忘记了怎么做! MS帮助文件告诉如何声明公共变量,但不知道如何引用它。声明是[Public strCurrentUser as String]。谁能提醒我如何引用它,好吗?谢谢。

I''m trying to reference a public variable that I have declared in a form module but the user module that is calling it doesn''t recognise it. I haven''t used VBA for some years and have forgotten how to do it! The MS help file tells how to declare a public variable but not how to reference it. The declaration is [Public strCurrentUser as String]. Can anyone remind me how to reference it, please? Thanks.

推荐答案




这篇关于在MS Access中引用公共变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 07:58