O'Reilly logo

F. Scott Barker's Microsoft® Access 2000 Power Programming by F. Scott Barker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PROGRAMMING WITH OBJECTS

Earlier, the section “Defining the Life and Location of Variables” introduced you to the concept of variable and procedure scoping by using the Public and Private keywords. The following sections discuss how you also can create and reference your own custom properties and methods on an object. Custom properties are essentially variables for which you can write custom routines when they're assigned or retrieved. For example, the Visible property on the form functions like a variable, but when you assign a value to it, it either hides or shows the object. With VBA, you can now create your own variables that provide special behaviors.

Note

Method is essentially another term for a subroutine or function. Methods act on the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required