Adds an item to the collection.
Adds an item to the collection.
| Visual Basic |
|---|
Public Function Add( _ ByVal UID As String, _ ByVal DataType As BoDataType, _ Optional ByVal Length As Long = 254 _ ) As UserDataSource |
| Value | Description |
|---|---|
| dt_LONG_NUMBER | Long number |
| dt_SHORT_NUMBER | Short number |
| dt_QUANTITY | Quantity |
| dt_PRICE | Price |
| dt_RATE | Rate |
| dt_MEASURE | Measure |
| dt_SUM | Sum |
| dt_PERCENT | Percent |
| dt_LONG_TEXT | Long text |
| dt_SHORT_TEXT | Short text |
| dt_DATE | Date |
A long integer specifying how many characters are valid in the item connected to this data source.
Relevant for data type dt_SHORT_TEXT only.
| Adding a user data source (Visual Basic) | ||
|---|---|---|
| ||