J
John Horton
I am using the following code to exchange some task table text to the
assignments table. In other words I have text in at text field in the Gantt
that I want to see in the Resource Usage and Task Usage views. In the past
this was easy. I have used this code for years in 2000 and 2003.
With my personal install w/SP1 the text is transfers in Task Usage but not
Recourse Usage. That does not make any sense as I always though that these
views were just pivots of each other. Both are views of the Usage table!?!
Right?
At the same time it works perfect if I run the code on a box with a “bone
stock†install. As I go from PC to PC it seems that the upgrades are the
issue. Is this possible? Any other ideas ????
Sub SyncWorkOrders()
Dim t As Task
Dim A As Assignment
For Each t In ActiveProject.Tasks
If Not t Is Nothing Then
For Each A In t.Assignments
A.Text14 = t.Text14
Next A
End If
Next t
MsgBox "Resource Tables have been syncronized with Task Tables"
End Sub
assignments table. In other words I have text in at text field in the Gantt
that I want to see in the Resource Usage and Task Usage views. In the past
this was easy. I have used this code for years in 2000 and 2003.
With my personal install w/SP1 the text is transfers in Task Usage but not
Recourse Usage. That does not make any sense as I always though that these
views were just pivots of each other. Both are views of the Usage table!?!
Right?
At the same time it works perfect if I run the code on a box with a “bone
stock†install. As I go from PC to PC it seems that the upgrades are the
issue. Is this possible? Any other ideas ????
Sub SyncWorkOrders()
Dim t As Task
Dim A As Assignment
For Each t In ActiveProject.Tasks
If Not t Is Nothing Then
For Each A In t.Assignments
A.Text14 = t.Text14
Next A
End If
Next t
MsgBox "Resource Tables have been syncronized with Task Tables"
End Sub