strDDField Structure
<< Click to Display Table of Contents >>
strDDField Structure
|
|
Purpose
Record layout for the Field.DDF table
Prototype
STRUCTURE strDDField ALIGN 1
Source Code
STRUCTURE strDDField ALIGN 1
MEMBER FieldNo AS WORD // Field ID
MEMBER FileNo AS WORD // File ID assigned by DDF
MEMBER DIM Fieldname[20] AS BYTE // Field name
MEMBER Type AS BYTE // Btrieve Data Type
MEMBER OffSet AS WORD // Field Offset (0 relative)
MEMBER Size AS WORD // Field Size
MEMBER Decimals AS BYTE // Decimal places for COBOL data types. Field delimiter
// for Note Data type. Bit position for BIT datatype
MEMBER Flags AS WORD // Field Flags
// Indexes for FIELD.DDF
// No Fields
// 0 Field ID
// 1 File Id
// 2 Field name
// 3 File ID + Field Name
// 4 File ID + OffSet + Bit placement
See Also
strDDFile, StrDDIndex, StrDDFieldExt, StrDDComment