Field_Option_Toggle - DataDictionary

Toggles a field option of a table column

Type: Procedure Set

Obsolete


Data Type: Integer

Parameters: integer iField Integer iOption

ParameterDescription
iFieldNumber of column in the table
iOptionThe option to toggle


Syntax
Procedure Set Field_Option_Toggle integer iField Integer iOption


Description

Obsolete

Field_Option_Toggle is used to toggle (reverse) the value of a field option. Any option change will be immediately reflected in all DEOs using this field. See File_Field_Option for more information.

Sample

Set Field_Option_Toggle of hDD iField to DD_NoPut
Set Field_Option_Toggle of hDD Field FileName.FieldName to DD_NoPut



File and File_Field Interfaces

Many of the DataDictionary methods contain a two variants of the same message: Field_Message and File_Field_Message. For a complete description of these messages please refer to The Field and File_Field DD Interfaces.

The Field_ version of a message must use the keyword FIELD to identify the Table.Column name. The File_Field_ version must use the keyword FILE_FIELD to identify the Table.Column name. These should never be mixed!

// When using Field_ message use the FIELD keyword
Set Field_Option_Toggle Field Customer.Name to DD_NoPut

// When using the File_Field_ message use the FILE_FIELD keyword
Set File_Field_Option_Toggle of oCustomer_DD File_Field Customer.Name to DD_NoPut

See Also

Changing Field Properties within a DD Object | Changing Field Option Settings Dynamically | File_Field_Option_Toggle