Skip to content

Data_Field - dbRadioGroupDS

Identifies the table 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
item# Integer

Syntax

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

Description

Each entry_item may have a field in a database file associated with it. The data_field identifies the database field from which data is to be stored, retrieved, and cleared. Data_fields are most often set by the entry_item command.

entry_item customer.name

They may also be set using the data_field message. This may be done if an entry item needs to be set to another field number than the initialized one. Data_field numbers begin with 0 for recnum and count up to the number of fields in the file with which the item is associated. Values outside this range are errors.

set data_field 0 to 4

get data_field 0 to var

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.