How do I update the message field in an appointment form?

  • Thread starter Alex Schwarzer-Muth
  • Start date
A

Alex Schwarzer-Muth

I am trying to create a form for a standard type of appointment. We have
contact information fields that go in the appointment "body", but I am unable
to create a field in the "body" or a field on the second tab page to update
information into the "body". I have tried putting the Notes field from
contact fields into the form, but I cannot link or update that field, even if
I disable the first page.
 
E

Eric Legault [MVP - Outlook]

Hi Alex. What exactly is the relationship between items in a Contact folder
and how they are supposed to interact with these new appointment forms? Do
you want to link Appointment A with Contact B? Or do you have a set of
information that is contact related that you want to store separately inside
your custom appointment form?

The Body property (and the Notes control that stores that property's value)
isn't directly updated by any internal or custom field. You'd need to trap
events in code (like the Item_PropertyChange ro Item_CustomPropertyChange
events) to get that field data and intelligently determine where in the
Item.Body property to insert this value.

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
President, Collaborative Innovations
Proud new owner of OutlookCode.com
NEW! -> Try Picture Attachments Wizard 2.0 For Microsoft Outlook <-
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault
 
A

Alex Schwarzer-Muth

Hi Eric,

Thank you for your help. I knew it would be something complicated :)

There is a type of appointment that gets field information stored in the
appointment body (e.g. contact name, telephone number, date of birth, etc.),
and is then used by the calendar owner in their outlook and through their
blackberry. I created a form on the second tab of an appointment to enter
that information into fields, and used a combo box to sort the information as
we would like it to appear. I just can't get that information to store in
the appointment body.

I will try the VB to trap the information. Is there a template of code that
could just insert a field (e.g. this combo box template) into the item.body?
I was able to do it for the appointment subject.

Thank you, again, for your help.

Best,

Alex

Eric Legault said:
Hi Alex. What exactly is the relationship between items in a Contact folder
and how they are supposed to interact with these new appointment forms? Do
you want to link Appointment A with Contact B? Or do you have a set of
information that is contact related that you want to store separately inside
your custom appointment form?

The Body property (and the Notes control that stores that property's value)
isn't directly updated by any internal or custom field. You'd need to trap
events in code (like the Item_PropertyChange ro Item_CustomPropertyChange
events) to get that field data and intelligently determine where in the
Item.Body property to insert this value.

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
President, Collaborative Innovations
Proud new owner of OutlookCode.com
NEW! -> Try Picture Attachments Wizard 2.0 For Microsoft Outlook <-
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault

Alex Schwarzer-Muth said:
I am trying to create a form for a standard type of appointment. We have
contact information fields that go in the appointment "body", but I am
unable
to create a field in the "body" or a field on the second tab page to
update
information into the "body". I have tried putting the Notes field from
contact fields into the form, but I cannot link or update that field, even
if
I disable the first page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top