Article ID: 265012 - View products that this article applies to.
This article was previously published under Q265012
This article has been archived. It is offered "as is" and will no longer be updated.
When you use some date formats to find or restrict items in Outlook in a Japanese locale, you may receive the following error message with specific dates such as September 29, 2000. This problem can occur within a 256-day period from January 7, 2000.
The date format that causes the problem may vary as follows:
Run-time Error '-2147352567 (80020009)': Type mismatch or the value "xx/xx/xx xx:xx" in the condition is not valid.
Collapse this tableExpand this table
This problem is caused by Outlook. In Outlook, the work space (stack) of the data format string is also used for acquisition of the current time, and it is reused without initialization.
If the Restrict method is used on January 17, 2000, the current time in internal form that is preserved in the work space is recognized as a part of data format string when the work space is used again. As the result, the date specified with the Restrict method can't be recognized properly, and an error occurs.
The same phenomenon occurs for 256 days in the period, like on June 12, 2001 and on September 29, 2000.
NOTE: This phenomenon depends on the client's current time, and doesn't depend on the date specified with the Restrict method.
To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/276367/EN-US/ )OFF2000: How to Obtain the Latest Office 2000 Service Pack
To work around this problem, use the "yyyy/mm/dd HH:MM" date format in the Restrict method.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Contact us for more help
Connect with Answer Desk for expert help.