Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   AdvancedSearch and .Body (http://www.outlookbanter.com/outlook-vba/53401-advancedsearch-body.html)

[email protected] July 26th 07 03:25 PM

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?


Ken Slovak - [MVP - Outlook] July 26th 07 04:53 PM

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?



[email protected] July 26th 07 05:25 PM

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.



All times are GMT +1. The time now is 08:30 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-2006 OutlookBanter.com