A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Populate Company field from Contact field in custom task form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 20th 06, 07:37 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Populate Company field from Contact field in custom task form

You'd have to write code to populate that field, not use a formula. The example at
http://www.outlookcode.com/codedetail.aspx?id=566 is for VBA not form code, but it shows the basics of how to use the Links collection for this.

--
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


"Dave C." wrote in message oups.com...
Using Outlook 2002 or 2003, creating a custom Outlook form based on the
Outlook default Task form. On page 2, I want to select a contact from
the Contacts folder. Then, I want a second field COMPANY to
automatically populate with the chosen contact's company name. I've
been through the Help file, online searches, and an Outlook book and I
think it's too simple to even be an example. But no matter how I set up
the Value and Validation properties of the Company text box, I cannot
get it to do the lookup and auto-populate. I have unsuccessfully tried
placing the Contacts and Company control and fields on a frame, and
also tried to calculate the value using a formula. Any idea what I am
doing wrong?

Controls and fields were dragged and dropped from Field Chooser,
Frequently-used fields. Properties of these fields:

CommandButton1:
(Choose Field): Contacts
(Type): Recipient

_RecipientControl1
(Choose Field): Contacts
(Type): Recipient

TextBox13
(Choose Field): Company
(Type): Keywords
(Property to use): Value

Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate Form with Outlook Contact Data Seagull Ng Outlook - Using Contacts 1 March 1st 06 01:56 PM
"Notes" field on contact form kleivakat Outlook - Using Contacts 0 February 20th 06 02:58 PM
LDAP and missing field company name Kathy Outlook - Using Contacts 0 February 1st 06 06:34 AM
Can custom form data populate access database jbtempe Outlook - Using Forms 1 January 20th 06 03:02 PM
new field in contact form Adrica Outlook - Using Contacts 1 January 15th 06 05:06 PM


All times are GMT +1. The time now is 01:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2022 Outlook Banter.
The comments are property of their posters.