PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Appointment item fields from access

 
 
=?Utf-8?B?a2JyYWQ=?=
Guest
Posts: n/a
 
      20th May 2004
I have used ACC: Using Automation to Add Appointments to Microsoft Outlook (Microsoft Knowledge Base Article - 160502) to set up Appointments in Outlook from Access which ahs worked fine. The code adds data to appointment time, date, reminder etc but can you add to the Contacts field in the outlook appointment. I've tried .Contacts = .... and .Contact = ... but cannot get it to work. Can it be done? If so what is the fieldname?
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      20th May 2004
The property you're looking for is the Links collection. Use the Links.Add
method, which takes a ContactItem as an argument.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"kbrad" <(E-Mail Removed)> wrote in message
news:B4AEAAA7-6540-4E5A-BD92-(E-Mail Removed)...
> I have used ACC: Using Automation to Add Appointments to Microsoft Outlook

(Microsoft Knowledge Base Article - 160502) to set up Appointments in
Outlook from Access which ahs worked fine. The code adds data to appointment
time, date, reminder etc but can you add to the Contacts field in the
outlook appointment. I've tried .Contacts = .... and .Contact = ... but
cannot get it to work. Can it be done? If so what is the fieldname?


 
Reply With Quote
 
=?Utf-8?B?a2JyYWQ=?=
Guest
Posts: n/a
 
      21st May 2004
I don't know what this is - where can I find out more information?
 
Reply With Quote
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      21st May 2004
What is the "this" that you're referring to? The newsgroup interface you are
using apparently does not quote earlier messages in the thread, making your
latest message so short on detail that you risk not getting the answer
you're looking for. Please take the time to quote the original message.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"kbrad" <(E-Mail Removed)> wrote in message
news8477B98-BE6E-4852-8A95-(E-Mail Removed)...
> I don't know what this is - where can I find out more information?



 
Reply With Quote
 
=?Utf-8?B?a2JyYWQ=?=
Guest
Posts: n/a
 
      21st May 2004
Could you give me more information about Links.Add (as in your answer below) - I have not seen it before.

Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"kbrad" <(E-Mail Removed)> wrote in message
news8477B98-BE6E-4852-8A95-(E-Mail Removed)...
> I don't know what this is - where can I find out more information?


The property you're looking for is the Links collection. Use the Links.Add
method, which takes a ContactItem as an argument.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"kbrad" <(E-Mail Removed)> wrote in message
news:B4AEAAA7-6540-4E5A-BD92-(E-Mail Removed)...
> I have used ACC: Using Automation to Add Appointments to Microsoft Outlook

(Microsoft Knowledge Base Article - 160502) to set up Appointments in
Outlook from Access which ahs worked fine. The code adds data to appointment
time, date, reminder etc but can you add to the Contacts field in the
outlook appointment. I've tried .Contacts = .... and .Contact = ... but
cannot get it to work. Can it be done? If so what is the fieldname?





 
Reply With Quote
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      21st May 2004
When in doubt, check the object browser: Press ALt+F11 to open the VBA
environment in Outlook, then press F2. Switch from <All Libraries> to
Outlook to browse all Outlook objects and their properties, methods, and
events. Select any object or member, then press F1 to see its Help topic.

See http://www.exchangeadmin.com/Article...rticleID=22254 for a
sample application using Links.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"kbrad" <(E-Mail Removed)> wrote in message
news:97FAE7E4-1678-4DB0-9E34-(E-Mail Removed)...
> Could you give me more information about Links.Add (as in your answer

below) - I have not seen it before.

>
>
> "kbrad" <(E-Mail Removed)> wrote in message
> news8477B98-BE6E-4852-8A95-(E-Mail Removed)...
> > I don't know what this is - where can I find out more information?

>
> The property you're looking for is the Links collection. Use the

Links.Add
> method, which takes a ContactItem as an argument.
>
> "kbrad" <(E-Mail Removed)> wrote in message
> news:B4AEAAA7-6540-4E5A-BD92-(E-Mail Removed)...
> > I have used ACC: Using Automation to Add Appointments to Microsoft

Outlook
> (Microsoft Knowledge Base Article - 160502) to set up Appointments in
> Outlook from Access which ahs worked fine. The code adds data to

appointment
> time, date, reminder etc but can you add to the Contacts field in the
> outlook appointment. I've tried .Contacts = .... and .Contact = ... but
> cannot get it to work. Can it be done? If so what is the fieldname?
>
>
>
>
>



 
Reply With Quote
 
=?Utf-8?B?a2JyYWQ=?=
Guest
Posts: n/a
 
      21st May 2004

Thanks, I'll try this
----- Sue Mosher [MVP-Outlook] wrote: ----

When in doubt, check the object browser: Press ALt+F11 to open the VB
environment in Outlook, then press F2. Switch from <All Libraries> t
Outlook to browse all Outlook objects and their properties, methods, an
events. Select any object or member, then press F1 to see its Help topic

See http://www.exchangeadmin.com/Article...rticleID=22254 for
sample application using Links
--
Sue Mosher, Outlook MV
Author o
Microsoft Outlook Programming - Jumpstart fo
Administrators, Power Users, and Developer
http://www.outlookcode.com/jumpstart.asp


"kbrad" <(E-Mail Removed)> wrote in messag
news:97FAE7E4-1678-4DB0-9E34-(E-Mail Removed)..
> Could you give me more information about Links.Add (as in your answe

below) - I have not seen it before

>>> "kbrad" <(E-Mail Removed)> wrote in messag

> news8477B98-BE6E-4852-8A95-(E-Mail Removed)..
>> I don't know what this is - where can I find out more information
>> The property you're looking for is the Links collection. Use th

Links.Ad
> method, which takes a ContactItem as an argument
>> "kbrad" <(E-Mail Removed)> wrote in messag

> news:B4AEAAA7-6540-4E5A-BD92-(E-Mail Removed)..
>> I have used ACC: Using Automation to Add Appointments to Microsof

Outloo
> (Microsoft Knowledge Base Article - 160502) to set up Appointments i
> Outlook from Access which ahs worked fine. The code adds data t

appointmen
> time, date, reminder etc but can you add to the Contacts field in th
> outlook appointment. I've tried .Contacts = .... and .Contact = ... bu
> cannot get it to work. Can it be done? If so what is the fieldname
>>>>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change an item from a recurring Appointment item to an exception from VB code? Dikbill Microsoft Outlook VBA Programming 2 13th Jul 2006 08:45 AM
Saving exception item in recurring appointment item fails Dikbill Microsoft Outlook VBA Programming 2 11th Jul 2006 03:59 PM
Saving exception item in recurring appointment item fails Dikbill Microsoft Outlook Calendar 0 11th Jul 2006 02:01 PM
Adding multiple subform fields to a mail item in Access aspoede@gmail.com Microsoft Access Forms 4 24th Nov 2005 01:08 AM
Using automation from access to outlook to create an appointment item Roderick de Rijke via AccessMonster.com Microsoft Access VBA Modules 2 24th Jan 2005 08:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:24 PM.