| Add Method | |
| See Also |
- UID
- A unique ID for the column
- ColFieldType
- The type of field to add
- DataSize
The size of the column, from 0 to 254.
Relevant for alphanummeric fields only; otherwise, the value is ignored.
Adds an item to the collection.
| Visual Basic |
|---|
Public Function Add( _
ByVal UID As String, _
ByVal ColFieldType As BoFieldsType, _
Optional ByVal DataSize As Long = 254 _
) As DataColumn |
- UID
- A unique ID for the column
- ColFieldType
The type of field to addValue Description ft_NotDefined Non-defined field ft_AlphaNumeric String field limited to 254 characters ft_Integer Integer field limited to numbers from −2,147,483,648 to +2,147,483,647 ft_Text String field without size limitation ft_Date Date field ft_Float Numeric field ft_ShortNumber Integer field limited to numbers from −32,768 to +32,767 ft_Quantity Numeric field whose decimal precision is defined by the Quantities administration setting. ft_Price Numeric field whose decimal precision is defined by the Prices administration setting. ft_Rate Numeric field whose decimal precision is defined by the Rates administration setting. ft_Measure Numeric field whose decimal precision is defined by the Units administration setting. ft_Sum Numeric field whose decimal precision is defined by the Amounts administration setting. ft_Percent Numeric field whose decimal precision is defined by the Percent administration setting. - DataSize
The size of the column, from 0 to 254.
Relevant for alphanummeric fields only; otherwise, the value is ignored.