Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 927606 - Last Review: September 18, 2011 - Revision: 3.0
Error message when you try to edit a formula that does not contain a comma as a list separator in Project 2007: "The formula contains a syntax error or contains a reference to an unrecognized field or function name"
Consider the following scenario. You use Microsoft Office Project Web Access to create a new enterprise custom field definition. In the enterprise custom field definition, you enter a formula that resembles the following example:
IIf([Duration] > 0; "Yes"; "No")
In this scenario, when you try to edit the new formula, you receive the following error message:
The formula contains a syntax error or contains a reference to an unrecognized field or function name.
When you view the formula, the formula is not displayed correctly. Additionally the formula is missing field names. The example formula will appear as follows:
IIf([MSPJ188743709] > 0; "Yes"; "No")
This problem occurs if the formula does not contain a comma as a list separator. This problem also occurs if you do not use a comma as a list separator when you edit a new or existing formula. In this case, when you save the formula, the formula is corrupted.
This problem occurs if the
List Separator value is not a comma in the Regional and Language Options in Control Panel.
To work around this problem, change the
List Separator value to a comma in the Regional and Language Options. To do this, follow these steps:
- Click Start, click Control Panel, and then double-click Regional and Language Options.
- On the Regional Options tab, click Customize.
- In the Customize Regional Options dialog box, click the comma in the List Separator list, and then click OK two times.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
APPLIES TO
- Microsoft Office Project Professional 2007
| kbtshoot kbprb kbexpertiseinter KB927606 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate