access全局变量_在MS Access中使用“全局”变量

编程入门 行业动态 更新时间:2024-10-27 16:26:39

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中使用“全局”变量

本文发布于:2023-06-14 03:55:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1436029.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:全局   变量   全局变量   access   Access

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!