ISAppointmentFilter.ChangedBefore

Description

This filter property is used to load the appointments booked or modified before the specified date and time.

Syntax

object.ChangedBefore

Part Attribute Type Description
object Required
The object always implements the ISAppointmentFilter interface

Return Value

DateTime

Example

Display the number of the appointments booked or modified before the specified date and time.

Dim aProvider
Dim aFilter
Dim aPatient 
Dim aAppointments
Dim aChangedBefore

Set aPos = Profile.LoadProvider("LONSDALE") 
set aPatient = Profile.SelectPatient
set aProvider = Profile.LoadProvider("PROV")
set aFilter = Profile.CreateAppointmentFilter

aFilter.ProviderID = aProvider.Id
aFilter.PatientId = aPatient.Id
aFilter.ChangedBefore = #27/12/2018  08:00:00#
 
set aAppointments = Profile.LoadAppointments(aFilter)

Profile.MsgBox("The number of the appointments changed before " &_ 
  aFilter.ChangedBefore & " is " &_    
  aAppointments.Count)  
Note:

In Profile Client v8 on User Interface Changed Before cannot be found.

Version information

Added in v8.2.0