摘要任务的唯一ID [英] Unique ID of a summary task
本文介绍了摘要任务的唯一ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何找到摘要任务标题的唯一ID。
例如:
$
任务1   ; UID 1
任务1_1 UID 2
任务1_2 UID 3 >
任务2 UID 4
任务2_1 UID 5
任务2_2 UID 6
因此,如果我在任务2_2上,其摘要记录的唯一ID将是4.
$
我可以找到前任和后继ID,但不能找到任何任务的摘要任务的ID。
干杯
David
例如:
$
任务1   ; UID 1
任务1_1 UID 2
任务1_2 UID 3 >
任务2 UID 4
任务2_1 UID 5
任务2_2 UID 6
因此,如果我在任务2_2上,其摘要记录的唯一ID将是4.
$
我可以找到前任和后继ID,但不能找到任何任务的摘要任务的ID。
干杯
David
How do I find the Unique ID of the summary task header.
For Example:
Task 1 UID 1
Task 1_1 UID 2
Task 1_2 UID 3
Task2 UID 4
Task 2_1 UID 5
Task 2_2 UID 6
So if I am on Task 2_2 for example, the unique ID of its summary record would be 4.
I can find predecessor and successor ID but not the ID of the summary task for any task.
Cheers
David
For Example:
Task 1 UID 1
Task 1_1 UID 2
Task 1_2 UID 3
Task2 UID 4
Task 2_1 UID 5
Task 2_2 UID 6
So if I am on Task 2_2 for example, the unique ID of its summary record would be 4.
I can find predecessor and successor ID but not the ID of the summary task for any task.
Cheers
David
推荐答案
大卫,
因为你发帖到定制和编程论坛,我假设您正在尝试以编程方式查找数据。以下VBA代码行将为工作任务2_2提供父任务的唯一ID(即汇总行)
Since you are posting to the customization and programming forum I'll assume you are trying to find the data programatically. The following line of VBA code will provide the unique ID of the parent task (i.e. summary line) for working task 2_2
UID = activeproject.Tasks(6).OutlineParent.UniqueID
UID=activeproject.Tasks(6).OutlineParent.UniqueID
希望这会有所帮助。
John
这篇关于摘要任务的唯一ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文