Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 FIELDCODE tinyint   Default = 0 0=User defined field, 1=Last Name, 2=First Name, 3=Middle Name, 4=Title, 5=Suffix, 6=Spouse Last Name, 7=Spouse First Name, 8=Spouse Middle Name, 9=Spouse Title, 10=Spouse Suffix, 11=Specified by Function
 FIELD nvarchar(21) (Computed) CASE [FIELDCODE] WHEN 0 THEN N'User defined field' WHEN 1 THEN N'Last Name' WHEN 2 THEN N'First Name' WHEN 3 THEN N'Middle Name' WHEN 4 THEN N'Title' WHEN 5 THEN N'Suffix' WHEN 6 THEN N'Spouse Last Name' WHEN 7 THEN N'Spouse First Name' WHEN 8 THEN N'Spouse Middle Name' WHEN 9 THEN N'Spouse Title' WHEN 10 THEN N'Spouse Suffix' WHEN 11 THEN N'Specified by Function' END Provides a translation for the 'FIELDCODE' field.
 EXAMPLE nvarchar(50)   Default = '' Stores the value used for example for this field in the add format form
 DISPLAY nvarchar(25)   Default = '' Display value used when selecting this field
 SEQUENCE int   Default = 0 The sort order for when this field is in a simple list
 SPECIFIEDFUNCTION nvarchar(100)   Default = '' Name of function that accepts constituent ID parameter and returns nvarchar(100)
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.
 ALLOWINITIAL bit   Default = 1 Indicate whether or not this name format field should be allowed to show only the initial letter.
 ISSPOUSEFIELD bit   Default = 0
 SPECIFIEDTABLEVALUEFUNCTION nvarchar(100)   Default = '' Name of table value function that accepts an optional constituent ID parameter and returns a column called [VALUE] representing the field

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_NAMEFORMATFIELD_DATEADDED DATEADDED    
 IX_NAMEFORMATFIELD_DATECHANGED DATECHANGED      
 PK_NAMEFORMATFIELD ID  
 UC_NAMEFORMATFIELD_DISPLAY DISPLAY    

Trigger Name Description
 TR_NAMEFORMATFIELD_AUDIT_UPDATE
 TR_NAMEFORMATFIELD_AUDIT_DELETE

Referenced by Field
 NAMEFORMATFUNCTIONDETAIL NAMEFORMATFIELDID

Entity-Relationship diagram of this table