LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-Oct-2009, 07:03 AM
Junior Member
 
Join Date: Dec 2008
Posts: 2
tknig01 0 reputation points
Default Query Criteria on "Subject Contains" Fails

Hi,

I am using the Groupwise 7 API and have come across a strange problem with query criteria.

The following criteria works perfectly

Code:
Set oMessages = oFolder.FindMessages("(MESSAGE CONTAINS ""10047"")")
but this line generates an error

Code:
Set oMessages = oFolder.FindMessages("(SUBJECT CONTAINS ""10047"")")
The error message is "An invalid argument was passed in the function call". Does anyone know why this happens? I have scoured the Developers Guide and "SUBJECT CONTAINS" is recognised as elligible for criteria. I also created a filter with 10047 in the subject field and then obtained the criteria GW used with the example in the Developers Guide, but this still didn't work.

Does anyone know what the problem is?

Thanks,

Tom
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 12:56 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2