Summary Task names

T

toast88

I need to be able to identify the summary task name for a given task. I only
want the first summary task name and not all summary task names back to the
top of the plan.

Is there a field on the task table that identifies the summary task so its
name can be found?

Thanks!
 
J

Jan De Messemaeker

Hi,

Sorry there isn't but you can make one.
If you can implement a VBA macro, use this one:

Sub CopyParentName
For each Job in activeproject.tasks
if not job is nothing then
if job.outlinelevel>1 then
job.text1=job.outlineparent.name
end if
end if
next job
end sub

It will place the parent's name in the text1 field (you can change the code
if you prefer an other one)
HTH
 
T

toast88

Thanks for the reply. In the below example, the activity 1 and 2 activity
tasks are the same but for a different unit of work. I need to know which
unit of work the activity is associated with.

Doesn't Outlineparentname take the most outer name (Group of tasks1 in this
case)?.

Group of tasks1
Task name 1
activity 1
activity 2
Task name 2
activity 1
activity 2
Task name 2
activity 1
activity 2
 
J

JackD

I believe you are mistaken about how it works.

OutlineParent is the IMMEDIATE parent.
Outline parent of the first "activity 1" is "Task name 1".
Outline parent of "Task name 1" is "Group of tasks 1".
 

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