This filter property is used to load the collection of providers till the specified date of birth.
object.ToDOB
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProvidersFilter interface |
DateTime
Display the number of the providers loaded on the basis of the selected filter, their full names, IDs and dates of birth.
Dim aFilter
Dim aProviders
Dim aProvider
Dim aMessage
Set aFilter = Profile.CreateProvidersFilter
aFilter.ToDOB = #12/23/1990#
Set aProviders = Profile.LoadProvidersByFilter(aFilter)
aMessage = vbNewLine &_
"The number of the providers loaded till the specified DOB (" &_
aFilter.ToDOB & ") is " & aProviders.Count
aMessage = aMessage & vbNewLine & vbNewLine &_
"Full Name:" & vbTab & "ID:" & vbTab & "DOB:"
for each aProvider in aProviders
aMessage = aMessage & vbNewLine &_
aProvider.FullName & vbTab &_
aProvider.ID & vbTab &_
aProvider.DOB
next
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface DOB can be found in
.