If you've put them all on the same directory and get just the file names, that is what I would expect. Can you analyse what you're doing differently when the full path suddenly appears? At the moment, I can't think of why that should happen so there must be something different.
Mike Glen
Project MVP
See
http://tinyurl.com/2xbhc for my free Project Tutorials
LS,
No it's not as straightforward as I hoped it would be. Although the
files are in one directory now (which will cange once all is in place),
the field gives different content view on different times.
Let' get my situation clear.
I have a mpp file called shared_resources. In here only the resources
are defined and no actual tasks inserted.
Besides that I have a number of mpp files where the actual tasks are
defined and resources allocated. These "task mpp files" all use the
shared_resources mpp as the resource pool.
Then I want to get an overview of the overall resource usage. I open
the shared_resources mpp and go to the "resource usage view". I added
the Column Project to be able to see which project alloacted the
resource.
Data then for example
Shared_Resources Unassigned
PaperlessDelivery Realisatie
Frico_XX Cutover
Frico_XX Aftercare
CRMIF Quote delivery 30%
Shared_Resources CRM
PaperlessDelivery Feasibility
PaperlessDelivery Detailed Design
PrePaidInternational Feasibility
PrePaidInternational Detailed Design
PrePaidInternational Realisation
CRMIF Feasibility
CRMIF Detailed Design
CRMIF Realisation
CRMIF Aftercare
You see, only project names.
But sometimes I get
Shared_Resources Unassigned
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\PaperlessDelivery.mpp Realisatie
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\Frico_XX.mpp Cutover
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\Frico_XX.mpp Aftercare
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\CRMIF.mpp Quote delivery
30%
Shared_Resources CRM
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\PaperlessDelivery.mpp Feasibility
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\PaperlessDelivery.mpp Detailed
Design
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\PrePaidInternational.mpp Feasibility
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\PrePaidInternational.mpp Detailed
Design
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\PrePaidInternational.mpp Realisation
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\CRMIF.mpp Feasibility
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\CRMIF.mpp Detailed
Design
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\CRMIF.mpp Realisation
\\India\shr-tmnl-tsnl
projects\Projectmanagement\Overall_Planning_old\CRMIF.mpp Aftercare
So suddenly I get filenames.
Other times I even get a mixture of projectnames and filenames.
The same happens when I get the shared_resources data from an excell
macro using this code :
Set rs = ActiveProject.Resources
For Each r In rs
If Not r Is Nothing Then
Set Asg = r.Assignments
For Each a In Asg
Set TSV = a.TimeScaleData(sd, ed, pjAssignmentTimescaledWork,
pjTimescaleWeeks, 1)
For j = 1 To TSV.Count
debug.Print a.Project
Next j
Next a
End If
Next r
Also here the a.Project gives (on different times, same file) different
content.
Kind regards,
Herman Reintke