Conventions Used On This Site
The articles and other items on this site follow a few conventions, to make it easy to distinguish between the various types of information, like text, screen elements, code and so.
- Menu items and sub menu items are separated by a |, so File | Import | Tabular Data refers to a menu item called Tabular Data that is a sub item of the Import menu, which in turn is located on the File menu.
- Screen elements, like buttons, labels, text boxes, etc. are presented in this font.
- Filenames are displayed like this: CreateNewUser.asp.
- Database objects, like table, columns etc are shown in this font: Users.
- Important words or new concepts are displayed in a Bold font.
- Code that appears in the text, like HitCounter = HitCounter + 1 is displayed in a mono-spaced font.
- New or important bits of code are displayed like this:
If (Instr(1, "Administrators", UserRole)) Then
' User is allowed to enter
Else
' User is denied access
End If
- Code you have already seen or that is less important, is presented like this:
If (Instr(1, "Administrators", UserRole)) Then
' User is allowed to enter
- These styles can also be mixed, so it's easier to focus on the important parts of a larger code block:
MM_tableValues = MM_tableValues & MM_columns(MM_i)
MM_dbValues = MM_dbValues & MM_formVal
Next
MM_tableValues = MM_tableValues & ", AccessLevel"
MM_dbValues = MM_dbValues & ", 'Members'"
MM_editQuery = "insert into " & MM_editTable & " (" & _
MM_tableValues & ") values (" & MM_dbValues & ")"
If (Not MM_abortEdit) Then
' execute the insert