BtField Class
<< Click to Display Table of Contents >> BtField Class |
|
Purpose
Strongly typed class that holds the field information
Prototype
CLASS BtField
Method
GetValue() | Read Field value from table buffer |
Init() | Constructor of BtField Class |
PutValue() | Write Field value to table buffer |
SetTable() | Method that sets the table and the data pointer in the field structure |
Source Code
CLASS BtField
EXPORT cName AS STRING // Normalized FieldName (max 10 characters)
EXPORT cCaption AS STRING // Original FieldName
EXPORT symName AS SYMBOL // Name as Symbol
EXPORT cVoType AS STRING // Vo Type
EXPORT nBtType AS BYTE // Btrieve Type
EXPORT nOffSet AS DWORD // Offset in Data Buffer
EXPORT nFysLen AS DWORD // Fysical Length of field
EXPORT nVoLen AS DWORD // Logical (VO) Length of field
EXPORT nDecimals AS DWORD // # of Decimals
EXPORT oTable AS BtTable // Table object
EXPORT ptrData AS PTR // Data Pointer
EXPORT lVariable AS LOGIC // variable Length Field ?
EXPORT nField AS DWORD // Field number from DDF File
DECLARE METHOD GetValue, PutValue, SetTable