Find Component

Fnd_Find_AddTable

Fnd_Find_AddTable (->table{; position})

Legacy manual page 104

Parameters

ParameterTypeDescription
tablePointerA pointer to the table to add
positionLongintPosition in which to add the item (optional)

Description

The Fnd_Find_AddTable routine loads the visible, searchable fields for the specified table into the field pop-up menu.

Fnd_Find_AddTable (->[Contacts])

This command relies on the table returned by Fnd_Gen_CurrentTable. If you want to use Fnd_Find_AddTable from your own process, you must set the current table with Fnd_Gen_CurrentTable. Remember to reset the current table when you are finished with your process.

$currentTable_ptr:=Fnd_Gen_CurrentTable ` get the current setting
Fnd_Gen_CurrentTable($yourTablePointer_ptr) ` set it to your working table
Fnd_Find_AddTable ($yourTablePointer_ptr)
Fnd_Find_AddField ($yourFieldPointer_ptr)

Fnd_Find_Display ` show the find dialog

Fnd_Gen_CurrentTable($currentTable_ptr) ` reset it back to the table it was on
Extracted source text
            Fnd_Find_AddTable (->table{; position})

              Parameter                  Type           Description
              table                      Pointer        A pointer to the table to add
              position                   Longint        Position in which to add the item (optional)

            The Fnd_Find_AddTable routine loads the visible, searchable fields for the specified table into the field
            pop-up menu.
              Fnd_Find_AddTable (->[Contacts])

            This command relies on the table returned by Fnd_Gen_CurrentTable. If you want to
            use Fnd_Find_AddTable from your own process, you must set the current table with
            Fnd_Gen_CurrentTable. Remember to reset the current table when you are finished with your process.
              $currentTable_ptr:=Fnd_Gen_CurrentTable ` get the current setting
              Fnd_Gen_CurrentTable($yourTablePointer_ptr) ` set it to your working table
              Fnd_Find_AddTable ($yourTablePointer_ptr)
              Fnd_Find_AddField ($yourFieldPointer_ptr)
              Fnd_Find_Display ` show the find dialog
              Fnd_Gen_CurrentTable($currentTable_ptr) ` reset it back to the table it was on