Click or drag to resize

IAppointmentMother Property

Mother appointment. Used for linking invitations to the main appointment.

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
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOAppointment Mother { get; set; }

Property Value

Type: SOAppointment
SOAppointment – a reference to the SOAppointment object.
Examples

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.

VB
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

See Also