This manual uses the following typographic conventions.
Example of convention | Description |
Sub, If, ChDir, Recordset, Time, Fontsize | Words in bold with the initial letter capitalized are language-specific reserved words with special meaning to Visual Basic. These can be funtions, statements, objects, methods, properties, operators, or keywords. |
DblClick, TransferText | Names of events and actions appear with the inital letter capitalized. Concatenated names may contain other capital letters. |
expr, path | In syntax, text in italic indicates placeholders for information you supply. |
[color] | In syntax, items inside brackets are optional. |
{While|Until} | In syntax, braces and a vertical bar indicate a mandatory choice between two or more items. You must choose one of the items unless all of the items also are enclosed in brackets. |
Dims dbs As Database "Illegal Function Call" | This Font is used for code and for error messages. |
acNormal | Intrisic constants consist of a word or words beginning with an initial capital letter, preceded by a prefix that indicates which type library they reside in. The prefix "ac" indicates that the constant is a Microsoft Access constant; "vb" indicates that the constant is a Visual Basic Constant. Constants are shown in bold. |
ENTER | Small capital letters are used for the names of keys, such as ENTER and CTRL. The key names correspond to the names on the IBMÒ Personal Computer Keyboard. Other computers may use different names for keys. |
ALT+F1 | A plus sign (+) between key names indicates a combination of keys. For example, ALT+F1 means hold down the ALT key while pressing the F1 key. |
varX= MSGBox(Concatenate "_ & "strings separated by "_ & "the line continuation "_ & character." | The line-continuation character (_) consists of a space and an undersocre. You can use this character to continue from one line of code to the next. |
CreateForm ([database[, formtemplate]]) | In syntax, an arrow indicates line continuation. |