Click or drag to resize

IListTextItemsEmpty Property

Returns true if the collection is empty. i.e. if it contains no elements List items Checks whether the collection is empty (has no members) or not

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

Property Value

Type: Boolean
TRUE – if the collection is empty

Implements

IMapCollectionEmpty
Examples

Get history items for the DocTmpl table

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

VB
dim i
set objso = CreateObject("superoffice.application")
If not (objSO is nothing) Then
    set  objcl = objso.database.gethistoryitems(130)
    if objcl.empty  then
        msgbox "there are no items for this table"
    else
        for i = 0 to objcl.count - 1
            set objcli = objcl.item(i)
            msgbox objcli.text
        next
    end  if
else
    msgbox "could not log in"
end  if
set objso = nothing

See Also