Appendix B. Naming Conventions
This appendix gives you suggestions for naming variables and other database objects. The suggested standards are based on the Reddick VBA Naming Conventions (RVBA), which are commonly accepted in the industry.When creating variable names, it's important to make the type and intended use of each variable clear and self-documenting. Here are a few rules to follow:- Remember to always make variable names mixed case, with each word or abbreviation in the variable name capitalized.
- Don't use underscore characters in your variable names.
- Abbreviate variable names only when it's necessary.
- Make the beginning of each variable name describe the type of data it contains.
A prefix appears in lowercase and is used to indicate additional information, such as the





Use the prefix m to indicate that the variable appears at the module level. The tag str


Prefix | Object Type |
---|---|
cmd | Command |
cnn | Connection |
err | Error |
errs | Errors |
fld | Field |
flds | Fields |
prm | Parameter |
prms | Parameters |
prp | Property |
prps | Properties |
rst | Recordset |
Prefix | Object Type |
---|---|
tbl | Table |
qry | Query |
frm | Form |
rpt | Report |
mcr | Macro |
dap | DataAccessPage |
bas | Module |