Creates a new field definition object and adds it to the Items property.
procedure Add(const Name: String; DataType: TABSAdvancedFieldType; Size: Integer = 0; Required: Boolean = False; BLOBCompressionAlgorithm: TCompressionAlgorithm = caNone; BLOBCompressionMode: Byte = 0);
Description
Add uses the values passed in the Name, DataType, Size, Required, BLOBCompressionAlgorithm and BLOBCompressionMode parameters and assigns them to the respective properties of the new field definition object.
If a field definition with same name already exists, Add raises an exception.
|
|