Icon Add Method

procedure Add(const Name: String; DataType: TFieldType; Size:
      Integer=0; Required: Boolean=False; const DefaultValue:
      String=''; const MinValue: String=''; const MaxValue: String='';
      const Description: String=''; CharCase:
      TFieldCharCase=fcNoChange; Compression: Byte=NO_COMPRESSION)

procedure Add(FieldNo: Integer; const Name: String; DataType:
      TFieldType; Size: Integer=0; Required: Boolean=False; const
      DefaultValue: String=''; const MinValue: String=''; const
      MaxValue: String=''; const Description: String=''; CharCase:
      TFieldCharCase=fcNoChange; Compression: Byte=NO_COMPRESSION)

Usage

Call the Add method to add a new field definition object to the list of field definitions for the table. Please see the TDBISAMFieldDef object for more information on each parameter to this method.
Image