This class provides an equivalent function to the standard TFieldDefs class - allowing the setup of a set of field definitions. Since the Palm has no concept of fields within a table, it is necessary to set up a field list (either at design time or run time) which will be used to map fields into a raw data structure doing record reads and writes.
Specifies the alignment of fields within the record structure. By default this is zero, for no alignment, but by setting this to a non-zero value, all fields within the table will be automatically alignment to boundaries of the specified number of bytes
Note that this property has no effect on the writing of records, so any record written with extraneous field definitions will have values for all fields included in the record (strings for example, will have a one byte ASCIIZ '0' terminator to indicate an empty string).
Methodsfunction Add: TpfgPalmFieldDef;
function Add(AFieldName: string; ADataType: TpfgPalmFieldType; Size: Integer = 0): TpfgPalmFieldDef
Creates a new field definition. You can either create a blank field definition object, or directly provide values to fill out the new definition as