Skip to content

Field_Select_State - DataDictionary

Gets/sets a table column's state in the local buffer

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
iField Integer Number of the column in the table

Syntax

Property Integer Field_Select_State
Access Type Syntax
Read Access: Get Field_Select_State to IntegerVariable
Write Access: Set Field_Select_State to IntegerVariable/Value

Description

The Field_Select_State property sets the column's state in the local buffer. It notifies Data Entry Objects (DEOs) if the value of the column has changed. This property is used with checkbox DD column values (Field_CheckBox_Value, Field_CheckBox_Values) to set the state of the column. For example, if a column is defined as a checkbox with Y and N values, you can change the value without having to worry about the underlying Y/N value.

Sample

Boolean bState
Get Field_Select_State Field OrderHea.Posted to bState

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
Get Field_Select_State Field OrderHea.Posted to bState

// When using the File_Field_ message use the FILE_FIELD keyword
Get File_Field_Select_State of oOrderHea_DD File_Field OrderHea.Posted to bState

See Also

File_Field_Select_State