G
Guest
hi
I have a collection of Appointment Items (myItems) which I want to Restrict based on date range, and a specific EntryID. Because the Restrict method can't be used with EntryID, when I each Item is first created I copy EntryID to the BillingInformation property. However when I include the BillingInformation clause in the Filter, there are no items returned.
An example of my Restrict Filter is:
[Start] > "Monday Dec 29 2003 09:30 AM" And [Start] < "Sunday Feb 22 2004 10:30 PM" And [BillingInformation] = "00000000190D5BCF4CBF654B96ADB4D8C1565E5D04712400"
Yet when I exclude the BillingInformation check from the Filter, and execute the following code, the If Then condition is met!
For Each myItem In myRestrictItems
If myItem.BillingInformation = myAppoint.BillingInformation Then
....
[this code executes!]
.....
End If
Next
Any ideas please?
I have a collection of Appointment Items (myItems) which I want to Restrict based on date range, and a specific EntryID. Because the Restrict method can't be used with EntryID, when I each Item is first created I copy EntryID to the BillingInformation property. However when I include the BillingInformation clause in the Filter, there are no items returned.
An example of my Restrict Filter is:
[Start] > "Monday Dec 29 2003 09:30 AM" And [Start] < "Sunday Feb 22 2004 10:30 PM" And [BillingInformation] = "00000000190D5BCF4CBF654B96ADB4D8C1565E5D04712400"
Yet when I exclude the BillingInformation check from the Filter, and execute the following code, the If Then condition is met!
For Each myItem In myRestrictItems
If myItem.BillingInformation = myAppoint.BillingInformation Then
....
[this code executes!]
.....
End If
Next
Any ideas please?