This filter property determines the sort order (direct and reverse) of the collection of appointments.
object.ReverseSort
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISAppointmentFilter interface |
bool
Display the sort order (direct and reverse) of the collection of appointments.
Dim aProvider
Dim aFilter
Dim aAppointments
Dim aAppointment
Dim aReverseSort
set aFilter = Profile.CreateAppointmentFilter
aFilter.DateFrom = #13/01/2018#
aFilter.DateTo = #29/12/2020#
aFilter.OrderBy = 2 ' aobPatientBookTime
aFilter.ReverseSort = false
set aAppointments = Profile.LoadAppointments(aFilter)
for i = 0 to aAppointments.Count - 1
set aAppointment = aAppointments.Item(i)
aMessage = aMessage & vbNewLine & aAppointment.BookedTime
set aPatient = aAppointment.Patient
if not aPatient is nothing then
aMessage = aMessage & chr(9) & aPatient.FirstName & " " & aPatient.Lastname
end if
next
In Profile Client v8 on User Interface Reverse Sort cannot be found.