Icon Add Method

HIDESBASE void __fastcall Add(const AnsiString Name,
      Db::TFieldType DataType, int Size = 0x0, bool Required = false,
      const AnsiString DefaultValue = "", const AnsiString MinValue =
      "", const AnsiString MaxValue = "", const AnsiString Description
      = "", TFieldCharCase CharCase = (TFieldCharCase)(0x0), Byte
      Compression = (Byte)(0x0))

HIDESBASE void __fastcall Add(int FieldNo, const AnsiString Name,
       Db::TFieldType DataType, int Size = 0x0, bool Required = false,
      const AnsiString DefaultValue = "", const AnsiString MinValue =
      "", const AnsiString MaxValue = "", const AnsiString Description
      = "", TFieldCharCase CharCase = (TFieldCharCase)(0x0), Byte
      Compression = (Byte)(0x0))

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