Field_Table_Object - DataDictionary
Returns the Id of the validation table set up to validate this table column
Type: Property
Access: Read-Only
Data Type: Integer
Parameters: None
Parameters
| Parameter | Type | Description |
|---|---|---|
| iField | Integer | Number of the column in the table |
Syntax
Property Integer Field_Table_Object
| Access Type | Syntax |
|---|---|
| Read Access: | Get Field_Table_Object to IntegerVariable |
Description
Field_Table_Object returns the object handle of a columns's validation table, as defined using Field_Value_Table. Returns 0 (zero) if no ValidationTable is defined for this column.
See Field_Value_Table for an extended explanation of the use of validation tables to valdiate table columns.
Sample
hoValidationTable
Get Field_Table_Object Field Customer.Name to hoValidationTable
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_Table_Object Field Customer.Name to hoValidationTable
// When using the File_Field_ message use the FILE_FIELD keyword
Get File_Field_Table_Object of oCustomer_DD File_Field Customer.Name to hoValidationTable