This function creates the filter for loading appointments.
object.CreateAppointmentFilter()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the appointments loaded on the basis of the selected filter and the time they were booked.
Dim aPatient
Dim aFilter
Dim aAppointment
Dim aAppointments
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateAppointmentFilter
aFilter.PatientID = aPatient.ID
set aAppointments = Profile.LoadAppointments(aFilter)
aMessage = "Appointments Count = " & aAppointments.Count
for i = 0 to aAppointments.Count - 1
set aAppointment = aAppointments.Item(i)
aMessage = aMessage & vbNewLine & "The appointment was booked on " &_
aAppointment.BookTime
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Appointments can be found in
or in .