Add a new field definition to the collection.
Source position: db.pas line 235
public function TFieldDefs.Add( |
const AName: string; |
ADataType: TFieldType; |
ASize: Integer; |
APrecision: Integer; |
ARequired: Boolean; |
AReadOnly: Boolean; |
AFieldNo: Integer; |
ACodePage: TSystemCodePage |
):TFieldDef; overload; |
const AName: string; |
ADataType: TFieldType; |
ASize: Word; |
ARequired: Boolean; |
AFieldNo: Integer |
):TFieldDef; overload; |
const AName: string; |
ADataType: TFieldType; |
ASize: Word; |
ARequired: Boolean |
); overload; |
const AName: string; |
ADataType: TFieldType; |
ASize: Word |
); overload; |
const AName: string; |
ADataType: TFieldType |
); overload; |
AName |
|
Value for the Name property of the new item. |
ADataType |
|
Value for the DataType property of the new item. |
ASize |
|
Value for the Size property of the new item. |
APrecision |
|
Precision. |
ARequired |
|
Value for the Required property of the new item. |
AReadOnly |
|
Read-only field. |
AFieldNo |
|
Number of the field. |
ACodePage |
|
Codepage field. |
Add new fieldDef result.
AName |
|
Value for the Name property of the new item. |
ADataType |
|
Value for the DataType property of the new item. |
ASize |
|
Value for the Size property of the new item. |
ARequired |
|
Value for the Required property of the new item. |
AFieldNo |
|
Number of the field. |
AName |
|
Value for the Name property of the new item. |
ADataType |
|
Value for the DataType property of the new item. |
ASize |
|
Value for the Size property of the new item. |
ARequired |
|
Value for the Required property of the new item. |
AName |
|
Value for the Name property of the new item. |
ADataType |
|
Value for the DataType property of the new item. |
ASize |
|
Value for the Size property of the new item. |
AName |
|
Value for the Name property of the new item. |
ADataType |
|
Value for the DataType property of the new item. |
Add adds a new item to the collection and fills in the Name, DataType, Size and Required properties of the newly added item with the provided parameters.
If an item with name AName already exists in the collection, then an exception will be raised.
|
Add new TFieldDef. |