Vijo
02-06-2006, 04:27 AM
Hi,
I am trying to retrieve the project details programmatically. I have a
project file (mpp)
that have multiple sub projects inserted into it . Thease are added to
the main projects as summary tasks. I also have some summmary tasks
without subbprojects attached to it.
Logically I can distinguish summary task using the TaskType field. But
ALL the Tasks below the Summary Task where the sub project is added is
showing the sub project file.
Below is the XML details.
<Project>D:\mpp\Pr</Project>
<TaskUniqueID>14</TaskUniqueID>
<TaskID>5</TaskID>
<TaskSubprojectFile>D:\mpp\Project2.mpp</TaskSubprojectFile>
<TaskType>1</TaskType>
<TaskName>Project2</TaskName>
-----------------------------------------------------
<Project>D:\mpp\Pr</Project>
<TaskUniqueID>15</TaskUniqueID>
<TaskID>6</TaskID>
<TaskSubprojectFile>:\mpp\Project2.mpp</TaskSubprojectFile>
<TaskType>1</TaskType>
<TaskName>Testing</TaskName>
First set of values are OK But the second set is actually a summary
task without sub project. But still have some value ( same as the above
sub project file)
How do I distinguish between Summary Tasks with and without Sub Project
File in my query?
Any thoughts on this will be very helpful
Vijo
I am trying to retrieve the project details programmatically. I have a
project file (mpp)
that have multiple sub projects inserted into it . Thease are added to
the main projects as summary tasks. I also have some summmary tasks
without subbprojects attached to it.
Logically I can distinguish summary task using the TaskType field. But
ALL the Tasks below the Summary Task where the sub project is added is
showing the sub project file.
Below is the XML details.
<Project>D:\mpp\Pr</Project>
<TaskUniqueID>14</TaskUniqueID>
<TaskID>5</TaskID>
<TaskSubprojectFile>D:\mpp\Project2.mpp</TaskSubprojectFile>
<TaskType>1</TaskType>
<TaskName>Project2</TaskName>
-----------------------------------------------------
<Project>D:\mpp\Pr</Project>
<TaskUniqueID>15</TaskUniqueID>
<TaskID>6</TaskID>
<TaskSubprojectFile>:\mpp\Project2.mpp</TaskSubprojectFile>
<TaskType>1</TaskType>
<TaskName>Testing</TaskName>
First set of values are OK But the second set is actually a summary
task without sub project. But still have some value ( same as the above
sub project file)
How do I distinguish between Summary Tasks with and without Sub Project
File in my query?
Any thoughts on this will be very helpful
Vijo