Outline codes are lost after you edit the Custom Field lookup table in Project 2002 and in Project 2000 (256666)



The information in this article applies to:

  • Microsoft Project Standard 2002
  • Microsoft Project Professional 2002
  • Microsoft Project 2000

This article was previously published under Q256666

SYMPTOMS

In Microsoft Project 2000 or in Microsoft Project 2002, you may receive the following message after you edit a custom Outline Code field in the Edit Lookup Table dialog box:
This change to the outline code definition will cause one or more codes to become invalid.

To proceed with the change and delete the invalid codes, click OK.

To cancel and return to the Outline Code Definition dialog box, click Cancel.
If you click OK, existing Outline Code field values for tasks or for resources that use that custom Outline Code field may be lost. If you click Cancel, the Outline Code Definition dialog box is displayed again.

In Microsoft Project Standard 2002, this problem may occur when you try to change the custom Outline Code field for any of the following custom outline codes:
  • Task outline codes
  • Resource outline codes
In Microsoft Project Professional 2002, this problem may occur when you try to change the custom Outline Code field for any of the following custom outline codes:
  • Enterprise task outline codes
  • Resource outline codes
  • Project outline codes

CAUSE

This behavior occurs when you perform the following procedure:
  1. You define a lookup table for a custom Outline Code field.
  2. In the Edit Lookup Table dialog box for that custom Outline Code field, you click Cut Row to remove an outline code row, and then click Paste Row to paste the row in a new location.
When you close the Outline Code Definition dialog box, you receive the message that is described in the "Symptoms" section.

WORKAROUND

To work around this behavior, do not cut and paste outline code rows in the Edit Lookup Table dialog box to reorder the list of outline codes. Instead, edit each outline code to achieve the order that you want.

For example, if you want to rearrange the first and second outline codes in a lookup table, change the value of the first outline code row to match the second outline code row. Then, change the value of the second row to match the original value of the first row.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

In Project Standard 2002

  1. Start Project Standard 2002, and then open a new blank project.
  2. On the Tools menu, point to Customize, and then click Fields.
  3. Click the Custom Outline Codes tab.
  4. Under Outline Code, click Task.
  5. Click Outline Code2, and then click Rename.
  6. Type OC2, and then click OK .
  7. Click Define Code Mask.
  8. In the first row of the Code mask table, click the arrow under Sequence, and then click Characters.
  9. In the Code mask table under the Sequence section, click the cell in the second row.
    Note that the entry in the first row is now defined as Level 1.
  10. Accept the default values that appear for Level 1.
  11. Click the arrow, and then click Characters.
  12. In the Code mask table under the Sequence section, click the cell in the third row.
    Note that entry in the second row is now defined as Level 2.
  13. Click Edit Lookup Table.
  14. In the first row under Outline Code, type a to create the outline code for Level 1.
  15. In the second row under Outline Code, type b to create the outline code for Level 2.
  16. Click Close, click OK , and then click OK .
  17. On the View menu, click to select Gantt Chart .
  18. Create a task, and then name it "T1".
  19. On the Insert menu, click Column.
  20. In the Field name box, click OC2 (Outline Code2), and then click OK.
  21. For task T1, click the arrow under OC2, and then click a.
  22. On the Tools menu, point to Customize, and then click Fields.
  23. Click the Custom Outline Codes tab.
  24. Click OC2 (Outline Code2 ), and then click Edit Lookup Table.
  25. Click a, and then click the Cut Row button.
  26. Click b , and then click the Paste Row button.
  27. Click Close, and then click OK .
  28. View the OC2 field for task T1.
    Note that the outline code "a" no longer appears for T1.

Modification Type:MinorLast Reviewed:6/9/2005
Keywords:kbbug kbpending KB256666