Consultor Eletrônico



Kbase P161205: How to use extent field
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/29/2010
Status: Unverified

GOAL:

How to use extent field

GOAL:

Is it possible to use extent fields in 4GL/ABL

GOAL:

How to create Extent fields

GOAL:

What are extent fields?

GOAL:

How to use an array in 4GL/ABL

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge Category: Database

FIX:

An extent field (also called an array field) is a field with multiple elements. Each element in an extent has the same data type.
For example a table SalesRep that contain MonthQuota field which is an extent field. It contains 12 elements, one for every month of the year. The extent is the number of elements contained in an extent field. If you define a field with an extent greater than 0, that field is an extent field. Following both ways to create an extent field in the Data Dictionary.
Using the GUI Data Dictionary:

On the Field Properties activate the extent check box. The Extent fill-in becomes enabled.
Using the character Data Dictionary:

On the Field Editor the Extent field is an integer; there is no check box. To create an extent field, enter a non-zero value into the Extent field.