Thread: SetColumns
View Single Post
  #2  
Old October 18th 06, 02:27 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default SetColumns

Unfortunately, Find and Restrict require localized field names in search strings. An alternative would be to use AdvancedSearch. Or, try to figure out what the localized names are; they're probably close to the display names for the fields.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Michael Bauer [MVP - Outlook]" wrote in message ...
Am Mon, 16 Oct 2006 13:33:24 -0400 schrieb Rog:

Using the English names works for all languages. Are you sure the error
message is exactly as shown? I never saw that kind of message.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


I am using item.Restrict("[EMAIL1ADDRESS] = '"+email+"' AND [FIRSTNAME]
= '"+fName+"' AND [LASTNAME] = '"+lName+"'");
and it works fine when using Outlook in English, but in German it seems
be an issue:
Message: Die Eigenschaft "EMAIL1ADDRESS],[FIRSTNAME],[LASTNAME" ist
nicht bekannt.

I guess this means that this feature does not exist.

Any ideas?

Ads