Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Retrieve Name from the Contacts in the Appointment form

Geek News

Retrieve Name from the Contacts in the Appointment form
cookiesncreamychoc[ at ]hotmail.com 3/15/2006 5:57:40 AM
Hi All,

I'm trying to populate the Body in the Appointment Form based on the
value (not the contact) entered in the Contacts box.
Basically, the user enters Number in the Contacts Box and clicks a
button in the Standard Bar and the Body gets populated from the data in
the database.
The problem is I cannot retrieve the Name from the Links collection as
the Appointment has not been saved yet. I can retrieve values entered
in the Subject field, Location field so there must be a way to retrive
the value in the Contacts box.
I just don't know how???

Thanx

Re: Retrieve Name from the Contacts in the Appointment form
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 3/15/2006 1:51:00 PM
The Links collection works a little bit differently from simple text fields. I don't know of a workaround to avoid having to save the item.

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


<cookiesncreamychoc[ at ]hotmail.com> wrote in message news:1142402260.258347.194060[ at ]i39g2000cwa.googlegroups.com...
[Quoted Text]
> Hi All,
>
> I'm trying to populate the Body in the Appointment Form based on the
> value (not the contact) entered in the Contacts box.
> Basically, the user enters Number in the Contacts Box and clicks a
> button in the Standard Bar and the Body gets populated from the data in
> the database.
> The problem is I cannot retrieve the Name from the Links collection as
> the Appointment has not been saved yet. I can retrieve values entered
> in the Subject field, Location field so there must be a way to retrive
> the value in the Contacts box.
> I just don't know how???
>
> Thanx
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net