The FieldList property accepts and returns a variant encapsulating a two-dimensional variant array. The first subscript references one property of the field, and the second references the field ordinal. The properties referenced by the first subscript are:
Note that the comment column of this array will be populated only if the DDFGetFieldComments method is called prior to reading the
FieldList property.
If RefreshLocations is set to
True, reading
FieldList will cause the VAccess to re-read the DDF files and get the field information stored in the DDF. Changing
FieldList with
RefreshLocations set to
True will no longer cause all changes to be immediately written to the DDF Files themselves. You must now call
DdfAddTable,
DdfModifyLocation, and so forth to actually write the changes to the DDFs. This is a change in behavior since the release of the Pervasive PSQL SDK. If
RefreshLocations is
False,
FieldList operations will read and update the VAccess control’s memory image of the fields.
If DdfTransactionMode and
RefreshLocations are both set to
True, all manipulations of
FieldList will occur within a transaction.
Affected by: DdfTransaction Mode, RefreshLocations