Click or drag to resize

IFindProjectsWithActiveStatusMonitor Method

Returns list of Projects with matching status monitors. Search by status monitor name or the status monitor id.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOProjects ProjectsWithActiveStatusMonitor(
	Object valueNameOrId
)

Parameters

valueNameOrId
Type: SystemObject
The name or the Id of the Status Monitor

Return Value

Type: SOProjects
SOContacs - a collection of contacts matching the query
Examples
VB
Dim objSO
Dim myProjs
Dim myProj

Set objSO = CreateObject("SuperOfficeDB.Database")
If not (objSO is nothing) Then
    objSO.login "USERID", "PASSWORD"
    Set myProjs = objSO.Find.ProjectsWithActiveStatusMonitor(8)
    Set myProj = myProjs.GetFirst
    While Not myProjs.EOF

        msg = msg & myProj.Name & vbCrLf
        Set myProj = myProjs.GetNext
    Wend
    if msg <> "" then
        MsgBox msg, vbInformation & vbOKOnly, "Projects matching search"
    Else
        MsgBox "No match"
    End If
End If

Set objSO = Nothing
See Also