Click or drag to resize

IDatabaseFind Property

Returns a Find object - has search functions that return collections The SOFind object contains a collection of methods for searching and retrieving data from the database.

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

Property Value

Type: SOFind
SOFind
Examples

Search for all contacts with a name that begins with ACME

VB
Dim objdb
Dim objfind
Dim objcontacts
Dim msg

Set objdb = CreateObject("superofficedb.database")
If Not (objDB is Nothing) Then
    objdb.login "<userid>", "<password>" ' log in to the database

    Set contacts = objdb.Find.ContactsByName("super")
    For Each contact In contacts
        msg = msg & contact.Name
    Next
    MsgBox(msg)
Else
    MsgBox "unable to connect to database"
End If
Set objso = Nothing

See Also