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 / February 2007

Tip: Looking for answers? Try searching our database.

Using Find with [EntryID]

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rick H - 22 Feb 2007 15:39 GMT
Can you use the Find command with EntryID?
Criteria = "([EntryID] = """ + ls_entry_id + """)"
This is what I'm using but getting error "The property EntryID in the
condition is not invalid"

I'm trying to get all dates in a new recurring entry. I'm using this
to loop through the new item and get all the recurring date for the
new recurring item

Thanks, Rick
Rick H - 22 Feb 2007 16:48 GMT
> Can you use the Find command with EntryID?
> Criteria = "([EntryID] = """ + ls_entry_id + """)"
[quoted text clipped - 6 lines]
>
> Thanks, Rick

Never mind on the EntryId I found where it is not valid for the Find
command. Now a new question.
When the user enters a new recurring item what is the easiet way to
get all dates with in this recurring item.
I get the recurrence pattern, but I don't see any easy way of getting
the recurring dates with this info.

Thanks, Rick
Ken Slovak - [MVP - Outlook] - 23 Feb 2007 15:12 GMT
There is no easy way.

You have to get and analyze the RecurrencePattern. Start at the initial date
and apply the recurrence formula to that to get the next instance. If that
fails or returns a null object you then have to check the Exceptions
collection of the RecurrencePattern to see if the instance for that date has
become an exception by being changed or deleted.

After you get the date for the following instance, you retrieve it using the
GetOccurrence() method.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

>> Can you use the Find command with EntryID?
>> Criteria = "([EntryID] = """ + ls_entry_id + """)"
[quoted text clipped - 15 lines]
>
> Thanks, Rick
 
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.