WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Open Specific Outlook Contact from Access

 
   Home -> Office -> Programming VBA RSS
Next:  I want Outlook to talk to MS Access  
Author Message
Chris O''''Neill

External


Since: Aug 01, 2007
Posts: 17



(Msg. 1) Posted: Fri Jul 25, 2008 3:32 pm
Post subject: Open Specific Outlook Contact from Access
Archived from groups: microsoft>public>outlook>program_vba (more info?)

In a question I posted to the Access Programming Forum, dch3 replied:

>The EntryID and StoreID can change if the item is moved to another folder
> or if its parent is moved. In the past, I've created a custom property on
> the Outlook Side and set it to the primary ID of the record that I was
> working with. I then used the primary ID to locate the item again.

I'd be interested in the code, especially if it helps locate the file even
if it has been moved. I'm very interested in seeing how you can create a
custom property on the Outlook side from Access. (Or did I misunderstand
that?)

Btw, I'd also be interested in learning how to pull Reminder/ToDo items from
Outlook from Access and trigger alerts in Access. Can you help me there?

Thanks, so much, for your help...

Regards, Chris
Back to top
Login to vote
Chris O''''Neill

External


Since: Aug 01, 2007
Posts: 17



(Msg. 2) Posted: Fri Jul 25, 2008 4:11 pm
Post subject: RE: Open Specific Outlook Contact from Access [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Opps! I left something out which may cause some folks to wonder why I'm
posting this here instead of staying over the the Access area...

dch3 requested that I reply here if wanted to see his code. As well, I
figured posting it here might bring some ideas from other folks conversant in
Access-Outlook interoperability.

Hope that clarifies things...

Regards, Chris

"Chris O''''Neill" wrote:

> In a question I posted to the Access Programming Forum, dch3 replied:
>
> >The EntryID and StoreID can change if the item is moved to another folder
> > or if its parent is moved. In the past, I've created a custom property on
> > the Outlook Side and set it to the primary ID of the record that I was
> > working with. I then used the primary ID to locate the item again.
>
> I'd be interested in the code, especially if it helps locate the file even
> if it has been moved. I'm very interested in seeing how you can create a
> custom property on the Outlook side from Access. (Or did I misunderstand
> that?)
>
> Btw, I'd also be interested in learning how to pull Reminder/ToDo items from
> Outlook from Access and trigger alerts in Access. Can you help me there?
>
> Thanks, so much, for your help...
>
> Regards, Chris
>
Back to top
Login to vote
Chris O''''Neill

External


Since: Aug 01, 2007
Posts: 17



(Msg. 3) Posted: Sat Aug 02, 2008 10:04 am
Post subject: Re: Open Specific Outlook Contact from Access [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you, Eric, for your help! MUCH appreciated!

I've managed to figure out code to create a user-defined field for a contact
item, but it appears it's putting the field in the folder collection instead
of the attaching it to the item. I'm going to have to play around with that
s'more and see what I'm doing wrong.

Also, I've done some preliminary reading on the AdvancedSearch method, as I
want to use it to search multiple folders in case the contact item has been
moved. The AdvancedSearch method seems *very* complex, so it might take me
awhile to figure it out. However, that looks to be the best way to deal with
my issue.

Btw, I've decided the idea of using Outlook Reminders to trigger an Access
event is not useful. I have all the info I need already in Access, so I've
decided to use it to trigger the reminder within Access. Without going into
all the code detail, my routine is in the Form_Open event of my application's
main menu (so it runs whenever the user starts the app). Using DAO, it looks
in the tblEvents table for
any reminders for that day and pops-up a MsgBox showing the reminder details.

Anyway, thanks again for your help! I think I'm pointed in the right
direction, now, although it might be a bit of a bumpy ride due to the
complexities of the AdvancedSearch method. Wink If I need any further help,
I'll post a new thread.

Regards, Chris

"Eric Legault [MVP - Outlook]" wrote:

> Custom properties are added to Outlook items in code using
> UserProperties.Add. They are usually added when designing a custom form.
> Looking for an item via a custom property value usually involves using the
> AdvancedSearch method for looking in multiple folders or the Items.Find
> method for a single folder.
>
> To access reminders, look at the Application.Reminders collection. If you
> want to actually trap when a reminder occurs, declare an Outlook Application
> object variable using the WithEvents keyword so you can use the
> Application_Reminder event.
>
> --
> Eric Legault [MVP - Outlook]
> MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
> & WSS 3.0 Application Development)
> President
> Collaborative Innovations
> -> Try Picture Attachments Wizard 2.0 For Microsoft Outlook <-
> -> Take your SharePoint content offline <-
> -> More info: http://www.collaborativeinnovations.ca <-
> Blog: http://blogs.officezealot.com/legault
>
> "Chris O''''Neill" <ChrisONeill.TakeThisOut@discussions.microsoft.com> wrote in message
> news:8F5432F3-0C71-4634-B2D0-307911163AE9@microsoft.com...
> > In a question I posted to the Access Programming Forum, dch3 replied:
> >
> >>The EntryID and StoreID can change if the item is moved to another folder
> >> or if its parent is moved. In the past, I've created a custom property on
> >> the Outlook Side and set it to the primary ID of the record that I was
> >> working with. I then used the primary ID to locate the item again.
> >
> > I'd be interested in the code, especially if it helps locate the file even
> > if it has been moved. I'm very interested in seeing how you can create a
> > custom property on the Outlook side from Access. (Or did I misunderstand
> > that?)
> >
> > Btw, I'd also be interested in learning how to pull Reminder/ToDo items
> > from
> > Outlook from Access and trigger alerts in Access. Can you help me there?
> >
> > Thanks, so much, for your help...
> >
> > Regards, Chris
> >
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Programming VBA All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support