Shortcut Considerations
An expression of the form
FIELD.fieldname.property
or
FIELD.fieldname.method(. . .)
is converted to an object expression by using GetField(FIELD.fieldname)
. For example,
the next two lines of code are identical:
FIELD.CHECKLIST_DT.Enabled = False;
GetField(FIELD.CHECKLIST_DT).Enabled = False;
An expression of the form
recname.fieldname.property
or
recname.fieldname.method(. . .)
is converted to an object expression by using GetField(recname.fieldname)
. For example, the next
two lines of code are identical:
EMPL_CHECKLINST.CHECKLIST_DT.Enabled = False;
GetField(EMPL_CHECKLIST.CHECKLIST_DT).Enabled = False;