PRJ4: Task Request: Adding Fields to a Workgroup Mail Message |
Q130968
When you use the Workgroup "Send Task Request," "Send Task Updates," and
"Request Task Update" commands in Microsoft Project, a combination of the
following fields are sent: Task Name, Start, Finish, Duration, Work,
Remaining Work and Comments (Notes).
A common request is the ability to add more fields to the mail messages
that are sent to the resources working in the project.
The Send Task Request, Sent Task Updates, and Request Task updates are all
based on a single method called "MailSendProjectMail." One parameter that
can be specified is "Fields."
The Fields parameter allows you to specify the names of one or more fields
that can be included in your mail message. The resource who receives this
mail message, however, will not be able to edit the fields specified in the
Fields parameter.
The easiest way to include the Fields parameter with your Workgroup
commands is to edit the menu bar.
MailSendProjectMail
MailSendProjectMail Fields:="Project,Text1[Description]"
With this modified command, the Send Task Request will include the
standard fields of Task Name, Duration, Start, Finish, and Comments.
With the added Fields parameter, the mail message will also include the
Project field, containing the name of the project file, and the Text1
field which will be titled "Description" in the actual mail message.
MailSendProjectMail MessageType:="TaskUpdates"
-and-
MailSendProjectMail MessageType:="UpdateRequest"
MailSendProjectMail MessageType:="TaskUpdates",Fields:="Project,Text1"
-and-
MailSendProjectMail MessageType:="UpdateRequest",Fields:="Project,Text1"
For more information about the MailSendProjectMail method, choose the
Search button in Microsoft Project Visual Basic Reference Help and type:
mailsendprojectmail
Additional query words: Email columns additional
Keywords : kbcode kbprg
Issue type : kbhowto
Technology :
|
Last Reviewed: November 3, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |