Event processing

G

Glen

The events for adding assignments to a task seem to be
real lame. The AssignmentNew event happens when the
first resource is assigned and not for any subsequent
resources that are assigned to a task. The
BeforeAssignmentNew events fire for subsequent assigns,
however provide no information about what task or what
assignmnet id is being created. The latest SPs are not
installed, is there improvement in the SP? Is there an
easy way to get the information I need (Task ID,
Assignment Resource Name, etc.)?

Thanks for any help.
Glen
 
R

Rod Gill

Private Sub object_ProjectAssignmentNew(ByVal pj As MSProject.Project, ID As
Long)

This event supposedly occurs whenever a new assignment is created. It
provides a project object and an assignments ID. This is from Project 2003
events help. What does your help say and what is your event declaration
code?
 
G

Glen

That event happens when the first resource is assigned to
a task. When a second resource is assigned it does not
happen. If it triggered with every assignment made to a
task I would be home free.
 
J

JackD

The simple answer is to only have one resource on each task...
Yes, this is lame as well, but it may be a workaround.
Sometimes the project events seem like a party without enough beer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top