Click or drag to resize

IChecklistGetNext Method

Return next item in list, or NULL if end of list is reached Get the next Checklist item from this collection

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOChecklistItem GetNext()

Return Value

Type: SOChecklistItem
SOChecklistitem – the next checklist item in this collection
Examples

GetNext

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

VB
Dim objSO
Dim objCheckList
Dim objCheckLists

Set objSO = CreateObject("SuperOfficeDB.Database")
enAListAll = 15 
a = objSO.Login("<USERID>","<PASSWORD")

if a then
    set objCheckLists = objSO.Database.GetCheckList(0, enAListAll)
    assid = objCheckLists.AssociateId
    MsgBox "This checklist is owned by id no. " & assid, vbInformation, "SuperCOM"
    ownername = objchecklists.GetOwnerName
    MsgBox "Owner (full name) of this checklist is: " & ownername, vbInformation, "SuperCOM"
    set objCheckList = objCHeckLists.GetFirst
    While Not objCHeckLists.EOF
        msgbox objCHeckList.Description, vbInformation, "SuperCOM"
        set objCHeckList = objCHeckLists.GetNext
    wend
    msgbox "No more checklist items in this checklist.", vbInformation, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if

Set objSO = Nothing

See Also