Skip to content

Code_Load_Object - FileValidationTable

Can be used to facilitate simple loading of FileValidationTables

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

Syntax

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

Description

Can be used to facilitate simple loading of FileValidationTables.

Sample

This sample shows how to add a DataDictionary object to a FileValidationTable to add constraints to the object.

Object vtProductionLots is a FileValidationTable 
    Set Table_Title to "Production Lot Identifier"
    Set Main_File to tProductionLots.File_Number
    Set Code_Field to 2 
    Set Validate_State to True 
    Object oProdDD is a Code_Loader_Data_Set
        Procedure OnConstrain 
            Constrain tProductionLots.Hide eq 0 
        End_Procedure
    End_Object
    Set Code_Load_Object to oProdDD 
End_Object