To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
276367 OFF2000: How to Obtain the Latest Office 2000 Service Pack
After you install the latest service pack from Microsoft Office 2000, you must add and configure the AllowAlias registry key to enable this fix. To do this, follow these steps.
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
- Quit Excel 2000 if it is running.
- . Click Start, and then click Run.
In the Open box, type regedit, and then click OK.
- Verify that the following key exists. If it does, go to step 4.
HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Query\
Options
If the key path does not exist, create the key path:- Locate and select the following registry key:
HKEY_CURRENT_USER\Software\Microsoft
- On the Edit menu, click New, and then click Key.
- Type Office, and then press ENTER.
- On the Edit menu, click New, and then click Key.
- Type 9.0, and then press ENTER.
- On the Edit menu, click New, and then click Key.
- Type Query, and then press ENTER.
- On the Edit menu, click New, and then click Key.
- Type Options, and then press ENTER.
- On the Edit menu, click New, and then click DWORD Value.
- Type the following name for the new value: AllowAlias.
- Press ENTER.
- Right-click the new DWORD value name, and then click Modify.
- In the Value data box, type 0.
NOTE: To disable the fix, delete the AllowAlias key or set the value to 1.
- When you are finished, click OK, and then quit Registry Editor.
WORKAROUND
To temporarily work around this problem, follow these steps:
- After you insert your table in the Tables pane in Microsoft Query, drag the fields into the display area.
- Double-click the heading for the field to which you want to apply the alias and aggregate.
- In the Column Heading box, type your alias in quotation marks. For example, type "fred" (including the quotation marks).
- In the Total list, click the aggregate function that you need. Click OK.