NAMING CONVENTIONS FOR VBA OBJECTS

Tags are required for the following VBA objects:

  • Variables

  • Type structures

  • Constants

Optional tags also are available for some types of procedures. By definition, if you're a Level One user, LNC assumes that you aren't writing Visual Basic code. If you're creating procedures, you're a Level Two user and should always apply Level Two tags and prefixes to database objects as well as VBA objects.

Base names are optional in some Level Two constructions. When you're programming in VBA in Level Two, the tag element is always required, but the BaseName is optional for local variables only. For example, a procedure that declared only one form object variable can legitimately use the variable name frm, which is a tag without ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.