Extending product function with VBA > Handling events in field types
  
Handling events in field types
This section covers all the field types available to the user that are listed in the System Architect Object Browser under the enumerated type FLDTYPE. These constants determine the format in which data is returned. In most cases System Architect sets the field type internally. This enumerated type is used as a required parameter for the GetRelationMetric method of the encyclopedia class. It is also an optional parameter in the GetMetric methods of the diagram, symbol, and definition classes.
Field types
FLDTYPE
Number
Description
FLDTYPAUTO
65
This is the default field selected by System Architect internally
FLDTYPCHARACTER
67
String up to 256 characters
FLDTYPDATE
68
Date field (for example, MM/DD/YYYY)
FLDTYPLOGICAL
76
Boolean field
FLDTYPMEMO
77
Memo fields store large blocks of text up to 4,095 characters
FLDTYPNUMERIC
78
The field must contain values that are numbers
FLDTYPTIME
84
Time field (for example, hours:minutes:seconds)
See also
Introduction to extending SA with VBA