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

CREATING VBA OBJECT BASE NAMES

When creating Visual Basic object base names, remember that the base name must be descriptive even in the absence of its tag. For many programmers, the syntax Dim I As Integer for a loop variable is quite acceptable. Within LNC, however, the variable named I would become iintLoop. Single-character variable names—especially without tags—aren't allowed. Instead, create a list of short and standardized work variables to handle common daily needs. Table D.10 suggests the LNC approach to commonly used variables.

Table D.10. Standardized LNC Work Variables
Variable Description
blnRet Captures a true/false return value from a function call
cccDebug Creates a conditional compilation constant for turning conditional debugging ...

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