Click or drag to resize

IListTextHeadingHeadingText Property

HeadingText Returns the text that constitutes this heading

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

Property Value

Type: String
String – the heading text
Examples

Get the headingtext

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

VB
Dim objSO
Dim headings
Set objSO = CreateObject("SuperOfficeDB.Database")
If not (objSO is nothing) Then 
    objSO.Login "<USERID>", "<PASSWORD>"
    set headings = objSO.GetHeadings(130)          
    for each head in Headings
        set collItems = head.Items
        for each item in collItems
            msg = msg & head.HeadingText & " - " & item.text
            msg = msg & chr(13) & chr(10)
        next
    next
    msgbox msg
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also