| Add Method | |
| See Also Example |
- UID
- An ID for the user data source. The ID must be unique within the collection.
- DataType
- The data type of the data source
- Length
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.
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 |
- UID
- An ID for the user data source. The ID must be unique within the collection.
- DataType
The data type of the data sourceValue 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 - Length
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.
The new user data source
| Adding a user data source (Visual Basic) | Copy Code | |
|---|---|---|
| ||