This filter property is used to load the interventions till the specified date and time.
object.DateTo
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRecallVisitFilter interface |
DateTime
Display the number of the interventions filtered till the specified date and time.
sub main
Dim aFilter
Dim aVisits
Dim aMessage
Set aFilter = Profile.CreateRecallVisitFilter
aFilter.DateTo = #04/09/2019 04:59:59#
set aVisits = Profile.LoadRecallVisits(aFilter)
aMessage = aMessage & vbNewLine &_
"The number of the interventions filtered " &_
"till the specified date and time (" & aFilter.DateTo & ") is " & aVisits.Count
Profile.MsgBox(aMessage)
end sub
In Profile Client v8 on User Interface Date To cannot be found.