Click or drag to resize

IListTextItemText Property

The name of the item - e.g: category name, document template title. The lists in SuperOffice CRM 5. A list is for example the country list, the currency list, the category list, the business list and so on.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
string Text { get; }

Property Value

Type: String
String - E.g. the name of a business type.
Examples

Get current chosen element in the business list

This text may be copied to the notepad, and saved as a *.vbs file. You need a running CRM 5 to make it work. (This example uses the SuperOffice COM application library and not the SuperOffice db library interface).

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application") 
If not (objSO is nothing) Then
    MsgBox "Current contact business: " & objSO.CurrentContact.Business.Text, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also