This filter property is used to load the collection of providers created before the specified date and time.
object.CreatedBefore
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 and some information about them.
Dim aFilter
Dim aProviders, aProvider
Dim aMessage
Set aFilter = Profile.CreateProvidersFilter
aFilter.CreatedBefore = #06/10/2019#
Set aProviders = Profile.LoadProvidersByFilter(aFilter)
aMessage = vbNewLine & "The number of the providers created before the specified date (" &_
aFilter.CreatedBefore & ") " & "is " & aProviders.Count & vbNewLine
for each aProvider in aProviders
aMessage = aMessage & vbNewLine &_
"Full Name: " & aProvider.FullName & vbNewLine &_
"ID: " & aProvider.ID & vbNewLine &_
"Code: " & aProvider.Code & vbNewLine
next
Profile.MsgBox (aMessage)