OL98: Restrict Method Doesn't Work with GetSharedDefaultFolder (183897)
The information in this article applies to:
This article was previously published under Q183897 SYMPTOMS
In the Microsoft Outlook 98 object model, you use the Restrict method to
retrieve a subset of items from a delegated folder, but all of the items in
the folder are returned.
CAUSE
In order for the Restrict method to work with a delegated folder, you
must be retrieving appointments from a shared calendar and you must use
the IncludeRecurrences and Sort methods to make sure that all of the
appointments are retrieved.
If you use the Restrict method on other folder types, such as a delegated
contacts folder, the Restrict method will not function correctly.
WORKAROUND
If the Restrict method is not functioning based on your solution's need,
you can use the Find and FindNext methods to retrieve items one at a time.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Outlook 98.
REFERENCES
For more information about creating solutions with Microsoft Outlook 98,
please see the following articles in the Microsoft Knowledge Base:
180826 OL98: Resources for Custom Forms and Programming
182349 OL98: Questions About Custom Forms and Outlook Solutions
Modification Type: | Minor | Last Reviewed: | 2/26/2004 |
---|
Keywords: | kbbug kbpending kbProgramming KB183897 |
---|
|