This function returns the appointment by ID.
object.LoadAppointment(aAppointmentID)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
aAppointmentID |
In, Required | int |
ID of the appointment |
Display the appointment loaded on the basis of the selected filter and the date it was booked.
Dim aAppointment
Dim aMessage
On Error Resume Next
Set aAppointment = Profile.LoadAppointment(6753)
if Err.Number <> 0 then
aMessage = "There is no appointment with the specified ID"
Err.Clear
else
aMessage = "The appointment was booked on " & aAppointment.Date
end If
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Appointments can be found in
or in .