IAppointmentMother Property |
The mother property is used if the appointment is a booking.
If this is a normal appointment, the mother will be 0.
If this appointment was the original appointment, made by the associate that wants to invite others to a meeting, the id in mother will be the same as the appointments identity.
If this appointment is a daughter appointment, generated from someone inviting you to a meeting, the id here will be the same as the mother appointments identity
Namespace: SuperOffice.COM.SuperOfficeDB
Check if appointment is mother
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO Set objSO = CreateObject("SuperOffice.Application") Set myApnt = objSO.CurrentAppointment Set mum = myApnt.Mother If mum.Identity <> myApnt.Identity Then app = mum.Associate.FullName End If Select Case mum.Identity Case 0 MsgBox "The current appointment is a normal appointment", vbInformation + vbOKOnly, "SuperCOM" Case contact.Identity MsgBox "The current appointment is the master booking ", vbInformation + vbOKOnly, "SuperCOM" Case Else MsgBox "You where invited to this appointment by: " & app, vbInformation + vbOKOnly, "SuperCOM" End Select Set my_app = Nothing