ISRecallVisitFilter.DateFrom

Description

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

Syntax

object.DateFrom

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

Return Value

DateTime

Example

Display the number of the interventions filtered from the specified date and time.

sub main   
  Dim aFilter
  Dim aVisits
  Dim aMessage
    
  Set aFilter = Profile.CreateRecallVisitFilter
  
  aFilter.DateFrom = #04/03/2018#    
  aFilter.DateTo = #05/05/2019#
  
  set aVisits = Profile.LoadRecallVisits(aFilter)  
   
  aMessage = aMessage & vbNewLine &_
    "The number of the interventions filtered " &_
    "from the specified date (" & aFilter.DateFrom & ") is " & aVisits.Count
    
  Profile.MsgBox(aMessage)  
end sub    
Note:

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

Version information

Added in v7.8.0