Click or drag to resize

IDatabaseGetHeadings Method

Returns a collection of Headings for a given list. From CRM 5 we have added the possibility to sort list items under different headings, visible for all or only for some usergroups.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
IListTextHeadings GetHeadings(
	SOTableId TableId
)

Parameters

TableId
Type: SuperOffice.COM.SuperOfficeDBSOTableId
Id of table to get headings from.

Return Value

Type: IListTextHeadings
IListTextHeadings
Examples

Get all headings in the DocTmpl table

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
dim objso
dim objh
dim headings
set objso =  CreateObject("superofficedb.database")
If not (objSO is nothing) Then
    objso.login "<userid>", "<password>"
    set headings = objso.getheadings(130)
    For Each heading In headings
        MsgBox heading.HeadingText, vbInformation + vbOKOnly, "supercom"
    Next
else
    msgbox "unable to connect to database"
end if
set objso = nothing

See Also