Pasing variables from one form to an other.

  • Thread starter Thread starter robouden
  • Start date Start date
R

robouden

For a project I need to create a new contact from a custom task and have
the fullname inserted in the contacts field of the task after the new
contact is closed. Does anyone have a sample on how to do this?

Rob Oudendijk
Engineer BirdLand
Tokyo Japan
http://www.roboudendijk.com
 
For a project I need to create a new contact from a custom task and have
the fullname inserted in the contacts field of the task after the new
contact is closed. Does anyone have a sample on how to do this?
You can do it from code, but it is a lot easier to make the creation of
the new contact item an action of the task item, Then the fields you want
copied will be auto-loaded when the new item is created. The trick in
getting the auto-load to work is to drag the fields you want auto-loaded
to the custom-contact form from the category of the (custom, if that is
what you are using) task form.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
Thanks for the response and the suggestion. It works fine, however I did
solve it an other way. The reason being that the "Contacts" is not so
fast to use compaired to the "To" or "CC" events. (users have to switch
to other contacts in a shared PST fle and then have to go through all
the contacts to select the one they want.) By using the "To" select
event , the interaction is faster and more logical. I just let the user
select a "To" email address and revolve this to the username. The new
contact funtcion is part of the "To" selection and if the new contact
is cretaed it shows up in the To list. So the user can insert it. And
on write event I copy the "To" data in the contacts field. So far this
works fine.

Regards
 
Thanks for the response and the suggestion. It works fine, however I di
solve it an other way. The reason being that the "Contacts" is not s
fast to use compaired to the "To" or "CC" events. (users have to switc
to other contacts in a shared PST fle and then have to go through al
the contacts to select the one they want.) By using the "To" selec
event , the interaction is faster and more logical. I just let the use
select a "To" email address and revolve this to the username. The ne
contact funtcion is part of the "To" selection and if the new contac
is cretaed it shows up in the To list. So the user can insert it. An
on write event I copy the "To" data in the contacts field. So far thi
works fine.

Regard
 
Back
Top