|
Variables in Microsoft Access |
|
|
Introduction |
|
A variable is an area in memory that is used to hold a value for a program. Since the value can change regularly while the program is running, it is called a variable. In order to use this area in memory, you must ask the computer to reserve it for later use. This request is referred to as declaring a variable. Since Microsoft Access doesn't inherently present a programming
environment, in order to declare your own variable, you can use VBA, which is available with Microsoft Access.
VBA requires you to do some programming. Even though it may not be the most |
|
Practical Learning: Starting the Exercise |
|
|
Creating the Application |
|
One of the features of a variable is that the user neither sees nor uses it. In fact, this aspect, like all others in programming, are of little to no interest to the user. Based on this, you can cheat with your application by including one or many Windows controls in your form or report. To treat such controls as variables, you can simply hide them. Once they are hidden, you can use them as you see fit. To hide a control in your form, you can include it in any section. All you have to do is set its Visible property to No. |
|
Practical Learning: Designing the Form |
|
|
|
||
| Copyright © 2004 Yevol | ||
|
|
||