IDatabaseCreateSelection Method |
Namespace: SuperOffice.COM.SuperOfficeDB
Create a new selection
This text may be copied to the notepad, and saved as a *.vbs file. You need a running CRM client to make it work. (This example uses the SuperOffice COM application library and not the SuperOffice db library interface).
dim objdb dim objapp dim objsel dim objselmem dim objcontact set objapp = CreateObject("superoffice.application") if not (objapp is nothing) then set objdb = objapp.database set objsel = objdb.createselection objsel.setdefaults objsel.name = "my customers" objsel.save else msgbox "unable to connect to database" end if set objapp = nothing