File_Field_Option_Toggle - DataDictionary

Obsolete Toggles (reverse) the value of a DD field option

Type: Procedure Set

Obsolete


Data Type: Integer

Parameters: integer iFile integer iField Integer iOption

ParameterDescription
iFileNumber of table in current filelist
iFieldNumber of field in the table
iOptionThe option to get/set


Syntax
Procedure Set File_Field_Option_Toggle integer iFile integer iField Integer iOption


Description

Obsolete

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

Set File_Field_Option_Toggle of hDD iFile iField to DD_NoPut
Set File_Field_Option_Toggle of hDD FILE_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 file.field name. The File_Field_ version must use the keyword FILE_FIELD to identify the file.field values. 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