Skip to content

Main_File - BaseData_Set

Identifies the table managed by this Data Dictionary class/object

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

Syntax

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

Description

Set Main_File to Customer.File_Number

This identifies the Data Dictionary's table. It must always be set and once set cannot be changed. Setting this property is the minimum requirement of a Data Dictionary.

The most basic Data Dictionary class could be created as follows:

Class cTheMostSimpleCustomer_DD is a DataDictionary

    Procedure Construct_Object
        Forward Send Construct_Object
        set Main_File to MyTable.File_Number
    End_Procedure

End_Class

See Also

Defining Data Dictionary Table Attributes