Field_Label - DataDictionary
Returns the value of Field_Label_Long or Field_Label_Short, or the tag name of a table column
Type: Property
Access: Read-Only
Data Type: String
Parameters: None
Parameters
| Parameter | Type | Description |
|---|---|---|
| iField | Integer | Number of the column in the table |
| iType | Integer | Type of label to returnConstantMeaning |
Syntax
Property String Field_Label
| Access Type | Syntax |
|---|---|
| Read Access: | Get Field_Label to StringVariable |
Description
Field_Label returns the value of the Field_Label_Long or the Field_Label_Short properties, or the tag name of a table column.
Sample
Get Field_Label Field DD_LABEL_SHORT To sHeaderName
Get Field_Label Field DD_LABEL_LONG To sLabel
Use Field_Label to get column labels and Field_Label_Long and Field_Label_Short to set column labels.
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_Label Field Customer.Name DD_Label_Long to sLabel
// When using the File_Field_ message use the FILE_FIELD keyword
Get File_Field_Label of oCustomer_DD File_Field Customer.Name DD_Label_Long to sLabel
See Also