When a form is first opened, the following sequence of events occurs:
Open (form) - Load (form) - Resize (form) - Activate (form) - Current (form) - Enter (control) - GotFocus (control)
Field names are encased in brackets: [FieldName]
A new class instance (cXX) is created by declaring an object variable
based on the class.
The Set command with New keyword creates an instance of a user-defined object:
Dim objXX as cXX
Set objXX = New cXX
To print the value result to the debug window:
When variables are initialized, a numeric variable is initialized to 0,
a variable-length string is initialized to a zero-length string (""),
and a fixed-length string is filled with zeros.
Variant variables are initialized to Empty.
DAO (Directory Access Objects)
The AddNew Method adds a new row to the recordset.