Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / October 2006

Tip: Looking for answers? Try searching our database.

SetColumns

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rog - 16 Oct 2006 18:33 GMT
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?
Michael Bauer [MVP - Outlook] - 17 Oct 2006 06:10 GMT
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.

Signature

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

> I am using item.Restrict("[EMAIL1ADDRESS] = '"+email+"' AND [FIRSTNAME]
> = '"+fName+"' AND [LASTNAME] = '"+lName+"'");
[quoted text clipped - 6 lines]
>
> Any ideas?
Sue Mosher [MVP-Outlook] - 18 Oct 2006 13:27 GMT
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.

Signature

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
 

> Am Mon, 16 Oct 2006 13:33:24 -0400 schrieb Rog:
>
[quoted text clipped - 11 lines]
>>
>> Any ideas?
Michael Bauer [MVP - Outlook] - 20 Oct 2006 07:18 GMT
Am Wed, 18 Oct 2006 08:27:05 -0400 schrieb Sue Mosher [MVP-Outlook]:

For a German OS and Outlook and can say for sure that it works with the
English names. I haven´t tested for all properties but never experienced any
problem. The only case I know where the localized name must be used is if
you restrict for Categories, in German that´s "Kategorien".

Signature

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

> 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.

>> Am Mon, 16 Oct 2006 13:33:24 -0400 schrieb Rog:
>>
[quoted text clipped - 11 lines]
>>>
>>> Any ideas?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.