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

Insert into a new e-mail form user defined info from tasks



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 20th 06, 09:25 PM posted to microsoft.public.outlook.program_forms
Hollis D. Paul
external usenet poster
 
Posts: 66
Default Insert into a new e-mail form user defined info from tasks

In article ,
=?Utf-8?B?TG9naXN0aWNzIE1hc3RlcnM=?= wrote:
I want to produce an e-mail from a task (a bit like a task update) but want
to show all my user defined fields?

There is a fairly easy way to do this, but it is intricate.

First, I assume that your existing task form is a custom task form, published
to the Org Forms Library, and that all your user defined fields are defined in
that form. I will call this the SForm, for Source Form.

2nd. Add a button to the SForm definition, and a custom action to it, which
is the creation of an email message using your custom form called DForm, for
Destination Form. In the code behind the button kick off the custom action.

3rd. You now create the Destination Form: Start with a blank message form,
or pre-address it and add some canned message you want to use, then go into
design mode on this form, drag your UDFs onto your form. But the critical
trick here is not to drag them from the category of UDF in the Folder, but
from the SForm category, which will also appear in the list of categories.
Add what ever else you want, need, and can't do without (leave out the kitchen
sink), and publish it to the Org Forms Library, using the name you assigned to
it in the custom Action you defined in the SForm.

4th. Check it out. Open an instance of the SForm, put data in your custom
UDFs, click the magic button, the DForm should appear, with all the UDFs
auto-populated with the values from the instance of the SForm.

The very critical trick is to drag the UDFs onto the DForm from the category
of the SForm, not the category of UDFs in the Folder. This is the only way to
get the auto-population of the fields to work. If you drag the UDFs from the
Folder category, then you have to put code in the button click event to copy
the desired values from the SForm to the DForm, which you shouldn't have to
do.

Hollis D. Paul [MVP - Outlook]
Mukilteo, WA USA



 




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
export file - user defined fields adi bali Outlook - Using Contacts 2 March 20th 06 11:29 AM
user defined fields Karl-H. Engesser Outlook - Using Contacts 1 February 9th 06 03:33 PM
How do I rename user defined field names? Sue Mosher [MVP-Outlook] Outlook - Using Contacts 1 January 19th 06 04:13 AM
Referencing User-Defined Fields Chaplain Doug Outlook and VBA 2 January 13th 06 06:54 PM
Referencing a User-Defined Field Chaplain Doug Outlook - Using Forms 1 January 13th 06 04:54 PM


All times are GMT +1. The time now is 11:38 AM.


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