Microsoft KB Archive/113888

{|
 * width="100%"|

Incorrect Cost Values Using Resources with Duplicate Names

 * }

Q113888

kbusage

-

The information in this article applies to:


 * Microsoft Project for Windows, version 4.0
 * Microsoft Project for the Macintosh, version 4.0

-

SYMPTOMS
In Microsoft Project, when you save a project file that uses multiple resources with the same name from a resource pool, or you save the resource pool, the fields calculated from the resource assignment fields contain incorrect values.

CAUSE
If your project uses multiple resources with the same name from a resource pool, the resource assignment changes to the first instance of the resource in the pool when you save either the project or the resource pool. This causes the fields in the project to be calculated using the cost and work information for the first instance of the resource, rather than the instance that you assigned to the task.

This behavior occurs because when you share resources in a pool, a resource is uniquely identified by the resource name, not the ID, because the resource ID changes when you add and remove and use resources in the resource pool.

For more information about resource assignments renumbering, query on the following words in the Microsoft Knowledge Base:

"resource and pool and name and renumbers" Note that this behavior does not occur in a project that is not sharing resources.

Steps to Reproduce Behavior

 * 1) In a new project, choose Resource Sheet from the View menu. Enter the following resource information:
 * 2) From the File menu, choose Save. In the File Name box, type pool and choose OK.
 * 3) From the File menu, choose New. Enter a task, T1.
 * 4) From the Tools menu, choose Multiple Projects, and then choose Share Resources. Select the Use Resources option, and select POOL.MPP from the From box.
 * 5) From the Window menu, choose Split so that the Task Form appears in the lower pane. On the Gantt chart, select T1. In the ID column in the Task Form, type 4 and press ENTER. In the ID column below the resource you just assigned, type 5 and choose the OK button.
 * 6) Select the view in the upper pane. From the View menu, choose Table and then choose Cost.
 * 7) From the File menu, choose Save. In the File Name box, type Sharing and choose OK.
 * 8) On the Gantt chart, select the right end of the T1 task bar, and drag it to the following day to change the duration of T1.

The Total Cost field now contains $0.00.