ISRecallVisitFilter.DateTo

Description

This filter property is used to load the interventions till the specified date and time.

Syntax

object.DateTo

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

Return Value

DateTime

Example

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       
Note:

In Profile Client v8 on User Interface Date To cannot be found.

Version information

Added in v7.8.0