File_Field_Select_State - DataDictionary
Sets the field's state in the local buffer
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Parameters
| Parameter | Type | Description |
|---|---|---|
| iFile | Integer | Number of table in current filelist |
| iField | Integer | Number of the column in the table |
Syntax
Property Integer File_Field_Select_State
| Access Type | Syntax |
|---|---|
| Read Access: | Get File_Field_Select_State to IntegerVariable |
| Write Access: | Set File_Field_Select_State to IntegerVariable/Value |
Description
The File_Field_Select_State property is used to set the field's state in the local buffer. It notifies DEOs if the value of the field has changed. This property is used with checkbox DD field values to set the state of the field. For example, if a field is defined as a checkbox and Y and N values, you can change the value without having to worry about the underlying Y/N value.
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
Boolean bState
Get Field_Select_State FIELD OrderHea.Posted to bState
// When using the File_Field_ message use the FILE_FIELD keyword
Boolean bState
Get File_Field_Select_State of oOrderHea_DD FILE_FIELD OrderHea.Posted to bState
See Also