Data_Field - cWebBaseDEO

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

Type: Property

Access: Read/Write

Data Type: Integer

Parameters: Integer iItem

ParameterDescription
iItemItem number (0 if omitted)


Syntax
 Property Integer Data_Field

Read Access: Get Data_Field [iItem] to IntegerVariable
Write Access: Set Data_Field [iItem] to IntegerVariable/Value


Description

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

Entry_Item Customer.Name


The table column may also be set using the Data_Field message. This may be done if an entry item needs to be set to another table column 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.