A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

AdvancedSearch and .Body



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 26th 07, 03:25 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 20
Default AdvancedSearch and .Body

http://msdn2.microsoft.com/en-us/library/bb147580.aspx sounds like
AdvancedSearch
will not search the whole message text: "use the item's EntryID in
GetItemFromID to obtain the
item object. Then retrieve the full value of Body through the item
object." Does this mean I'm
sunk searching whole folders with AdvancedSearch?

Ads
  #2  
Old July 26th 07, 04:53 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default AdvancedSearch and .Body

That article says that you can't get PR_BODY back in a Table object column
because it could exceed the limit on table columns (or PropertyAccessor) in
size (roughly 4K). You can certainly still use Body directly from an item,
which is what getting the item is all about, and you can use it in an
AdvancedSearch filter.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
ps.com...
http://msdn2.microsoft.com/en-us/library/bb147580.aspx sounds like
AdvancedSearch
will not search the whole message text: "use the item's EntryID in
GetItemFromID to obtain the
item object. Then retrieve the full value of Body through the item
object." Does this mean I'm
sunk searching whole folders with AdvancedSearch?


  #3  
Old July 26th 07, 05:25 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 20
Default AdvancedSearch and .Body

On Jul 26, 9:53 am, "Ken Slovak - [MVP - Outlook]"
wrote:
That article says that you can't get PR_BODY back in a Table object column
because it could exceed the limit on table columns (or PropertyAccessor) in
size (roughly 4K). You can certainly still use Body directly from an item,
which is what getting the item is all about, and you can use it in an
AdvancedSearch filter.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm

wrote in message

ps.com...

http://msdn2.microsoft.com/en-us/lib...580.aspxsounds like
AdvancedSearch
will not search the whole message text: "use the item's EntryID in
GetItemFromID to obtain the
item object. Then retrieve the full value of Body through the item
object." Does this mean I'm
sunk searching whole folders with AdvancedSearch?


That is very clear and a relief to know. Thank you.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use of AdvancedSearch with wildcards in Outlook ed Outlook and VBA 15 May 14th 07 06:58 PM
AdvancedSearch Method Irene Outlook and VBA 3 December 8th 06 12:02 AM
Type of object for AdvancedSearch Renjith Outlook and VBA 4 May 17th 06 03:13 PM
Scope Parameter for AdvancedSearch Renjith Outlook - Using Contacts 1 May 12th 06 03:42 PM
AdvancedSearch Serg Flic Outlook and VBA 1 January 10th 06 04:17 PM


All times are GMT +1. The time now is 08:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.