Skip to content

Data_File - cBaseDbLocalWebControlHost

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

Type: Property
Access: Read-Only
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
iItem Integer

Syntax

Property Integer Data_File
Access Type Syntax
Read Access: Get Data_File to IntegerVariable

Description

Each entry_item may have a field in a database file associated with it. The Data_file property identifies the database file that contains the field from which data is to be stored, retrieved, and cleared. Data_files are most often set by the composition of the entry_item statement itself.

entry_item customer.name

They may also be set using the data_file message. This may be done if an entry item needs to be set to another file than the initialized one.

set data_file 0 to customer.File_Number

get data_file 0 to iTableNumber

If the entry_item is not associated with a data field (it is associated with an expression or variable) the value of this property is 0.