G
Gilgamesh
I am looping through the assignments collector in each of my project
resources and when I get to a certain assignment I need to update
information in the Task that the assignment relates to.
I have noticed that the assignment object has a parent with a Tasks
collection that I would seem to be able to index through to set the detail.
For example :
Assign.Parent.Tasks(Assign.TaskID).Text1="Hi"
where Dim Assign as Assignment is the defiition would set Text1 in the task
to Hi and not the resource or assignment text.
My question is : Is it valid to index through the assignment parent tasks
using the TaskID field? This seems OK from what I have looked at but I was
thinking there may be circumstances where it is not valid.
I'm using MSP 2003 Pro
Thanks
resources and when I get to a certain assignment I need to update
information in the Task that the assignment relates to.
I have noticed that the assignment object has a parent with a Tasks
collection that I would seem to be able to index through to set the detail.
For example :
Assign.Parent.Tasks(Assign.TaskID).Text1="Hi"
where Dim Assign as Assignment is the defiition would set Text1 in the task
to Hi and not the resource or assignment text.
My question is : Is it valid to index through the assignment parent tasks
using the TaskID field? This seems OK from what I have looked at but I was
thinking there may be circumstances where it is not valid.
I'm using MSP 2003 Pro
Thanks