Find Component

Fnd_Find_AddSubfield

Fnd_Find_AddSubfield (->subfield; field type{; position})

Legacy manual page 103

Parameters

ParameterTypeDescription
subfieldPointerA pointer to the subfield to add
field typeLongintType of the subfield
positionLongintPosition in which to add the item (optional)

Description

The Fnd_Find_AddSubfield routine lets the developer add a subfield to the Find dialog. The field type must be specified because we cannot procedurally determine its type like we can for fields. If a position is not specified, the field is added to the end of the list. The field type parameter can be one of 4D's Field Type constants: 4D Constant Type Value Is Alpha Field Longint 0 Is Boolean Longint 6 Is Date Longint 4 Is Integer Longint 8 Is LongInt Longint 9 Is Real Longint 1 Is Text Longint 2 Is Time Longint 11

Extracted source text
            Fnd_Find_AddSubfield (->subfield; field type{; position})

              Parameter                 Type              Description
              subfield                  Pointer           A pointer to the subfield to add
              field type                Longint           Type of the subfield
              position                  Longint           Position in which to add the item (optional)

            The Fnd_Find_AddSubfield routine lets the developer add a subfield to the Find dialog. The field type
            must be specified because we cannot procedurally determine its type like we can for fields. If a position is
            not specified, the field is added to the end of the list.
            The field type parameter can be one of 4D's Field Type constants:
              4D Constant               Type              Value
              Is Alpha Field            Longint           0
              Is Boolean                Longint           6
              Is Date                   Longint           4
              Is Integer                Longint           8
              Is LongInt                Longint           9
              Is Real                   Longint           1
              Is Text                    Longint        2
              Is Time                    Longint        11