R
reesd
Starting around two days ago for some reason I am getting a "Condition not
valid" dialog box every time I run Restrict or Find. This seems to happen
regardless of the query or the target items. For instance, all of these
snippets give a "condition not valid".
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Find("[Complete] = False"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Restrict(""
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Restrict("[Subject] <> 'test'"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Restrict("[Subject] <> 'test'"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderOutbox).Items.Find("[Subject] <> 'blah'"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderCalendar).Items.Restrict("[LastModificationTime] > '01/1/2003'")
It's killing me - essentially everything I have done has been brought to a
halt. Anyone have an idea what is happening here?
I have tried:
SCANPST to clean us the pst
different/new PSTs
removing all add-ins
I have all Office updates
Outlook Detect and Repair
I am running Outlook 2003 on XP Pro SP2 with all windows updates.
thanks,
dave
valid" dialog box every time I run Restrict or Find. This seems to happen
regardless of the query or the target items. For instance, all of these
snippets give a "condition not valid".
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Find("[Complete] = False"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Restrict(""
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Restrict("[Subject] <> 'test'"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Restrict("[Subject] <> 'test'"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderOutbox).Items.Find("[Subject] <> 'blah'"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderCalendar).Items.Restrict("[LastModificationTime] > '01/1/2003'")
It's killing me - essentially everything I have done has been brought to a
halt. Anyone have an idea what is happening here?
I have tried:
SCANPST to clean us the pst
different/new PSTs
removing all add-ins
I have all Office updates
Outlook Detect and Repair
I am running Outlook 2003 on XP Pro SP2 with all windows updates.
thanks,
dave