OL2002: Events Do Not Run for Task Requests (278071)



The information in this article applies to:

  • Microsoft Outlook 2002

This article was previously published under Q278071

SYMPTOMS

If you implement one or more events in a custom task form, the events may not run when you assign the task to someone else.

CAUSE

This issue occurs because form-level events are not designed to run in a task request scenario.

WORKAROUND

To work around this issue, use one of the following methods:
  • Have the recipient accept the task. A task is placed in the recipient's default Tasks folder. After this is done, the events run for both the task in the Tasks folder and the task request in the Inbox. For example, the Open event does not run the first time that you open the task request in the Inbox. But if you accept the task request, close it, and then re-open it, the event runs.
  • Instead of assigning tasks, create a Microsoft Exchange public folder to store the tasks, and have everyone work out of the single public folder.
  • If you want to programmatically assign a personal task to someone, design a custom mail message form to provide this functionality. You can use a script that is written in the Microsoft Visual Basic Scripting Edition (VBScript) to programmatically create a task item and save that task item to the recipient's Tasks folder. You can use the Read event to automatically create the task without prompting, or you can add custom Accept or Decline command buttons to the form so that the user can choose whether or not to create the task.

REFERENCES

For additional information about available resources and answersto commonly asked questions about Microsoft Outlook solutions, click the article number below to view the article in the Microsoft Knowledge Base:

287530 OL2002: Questions About Custom Forms and Outlook Solutions


Modification Type:MinorLast Reviewed:2/28/2004
Keywords:kbprb KB278071