Microsoft KB Archive/256666

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

Article ID: 256666

Article Last Modified on 1/27/2007

-

APPLIES TO


 * Microsoft Project 2002 Standard Edition
 * Microsoft Project 2002 Professional Edition
 * Microsoft Project 2000 Standard Edition

-



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.
 * 1) Accept the default values that appear for Level 1.
 * 2) Click the arrow, and then click Characters.
 * 3) 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.
 * 1) Click Edit Lookup Table.
 * 2) In the first row under Outline Code, type a to create the outline code for Level 1.
 * 3) In the second row under Outline Code, type b to create the outline code for Level 2.
 * 4) Click Close, click OK, and then click OK.
 * 5) On the View menu, click to select Gantt Chart.
 * 6) Create a task, and then name it "T1".
 * 7) On the Insert menu, click Column.
 * 8) In the Field name box, click OC2 (Outline Code2), and then click OK.
 * 9) For task T1, click the arrow under OC2, and then click a.
 * 10) On the Tools menu, point to Customize, and then click Fields.
 * 11) Click the Custom Outline Codes tab.
 * 12) Click OC2 (Outline Code2 ), and then click Edit Lookup Table.
 * 13) Click a, and then click the Cut Row button.
 * 14) Click b, and then click the Paste Row button.
 * 15) Click Close, and then click OK.
 * 16) View the OC2 field for task T1.

Note that the outline code "a" no longer appears for T1.

Keywords: kbbug kbpending KB256666

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.