ISelectionRemoveMember Method |
Namespace: SuperOffice.COM.SuperOfficeDB
RemoveMember
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
This example will add the contact person with personid=1 and contactid=1. This is, in almost all databases, a contact person from the SuperOffice subsidiary in your home country. It could be recommended to try the SOSelection.AddMember example first if your going to try this on your database.
Dim objSO Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then objSO.CurrentSelection.RemoveMember 1,1 MsgBox "The selection member is removed from the current selection ", vbInformation + vbOKOnly, "SuperCOM" else MsgBox "Unable to connect to database" end if Set objSO = Nothing