access全局变量
As developers, we frequently need to store values for use throughout our application or to pass values from one object (form, report, module) to another. There are a number of ways to do this within Access and I'll discuss several of the more common methods in this article.
作为开发人员,我们经常需要存储值以在整个应用程序中使用,或将值从一个对象(窗体,报表,模块)传递到另一个对象。 在Access中有许多方法可以做到这一点,我将在本文中讨论几种较常见的方法。
Caveat Emptor: Before delving into this discussion, I want to address a common misconception that "global variables" are bad. I strongly disagree with this view and regularly use them in my database applications. The key is that you must be cautious about how you use these variables and understand that changing the variable in one spot will affect other aspects of your application.
告诫Emptor:在深入讨论之前,我想解决一个普遍的误解,即“全局变量”是不好的。 我强烈不同意这种观点,并定期在我的数据库应用程
更多推荐
access全局变量_在MS Access中使用“全局”变量
发布评论