Skip to content

Data_File - cWebBaseDEO

Identifies the database table that contains the column from which data is to be stored, retrieved, and cleared

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

Parameters

Parameter Type Description
iItem Integer Item number (0 if omitted)

Syntax

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

Description

Each Entry_Item may have a column in a database table associated with it. The Data_File property identifies the database table that contains the column from which data is to be stored, retrieved, and cleared.

Entry_Item Customer.Name

The table may also be set using the Data_File message. This may be done if an entry item needs to be set to another table than the initial one.

Integer iColNum

Set Data_File to Customer.File_Number
Get_FieldNumber Customer.Address to iColNum
Set Data_Field 0 to iColNum

If the Entry_Item is not associated with a database table column (it is associated with an expression or variable), the value of this property is 0.