Click or drag to resize

IFindProjectsLike Method

Find collection of Projects using soundex. Search and retrieve all projects that soundex-match the given name

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOProjects ProjectsLike(
	string Name
)

Parameters

Name
Type: SystemString
soundex search string

Return Value

Type: SOProjects
SOProjects – A collection of projects matching the soundex string
Examples

ProjectsLike

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

This will find all projects that start with the SoundEx version of Super

VB
dim objprojects
set objso = CreateObject("superofficedb.database")
If not (objSO is nothing) Then
    objso.login  "<USERID>", "<password>"
    set objprojects =  objso.find.projectslike("super")
    set proj = objprojects.getfirst
    while not objprojects.eof
        item = proj.name
        msgbox item
        set proj = objprojects.getnext
    wend
else
    msgbox "could not log in"
end if
set objso = nothing

See Also