#Error? or #Name? appears in a control on a form or report.
#Error? or #Name? may appear in a control for a number of reasons. To correct the problem, do the following:
- Make sure that the field specified in the control's ControlSource property hasn't been removed from the underlying table or other record source.
- Check the spelling of the field name in the control's ControlSource property.
- If you specified an expression in the control's ControlSource property, make sure that there is an equal sign preceding the expression.
- Make sure that there are brackets around references in expressions to control or field names that include spaces. For example, to subtract a Shipped Date field from a Required Date field, enter the following expression: =[Required Date]-[Shipped Date].
- If you are using one of the built-in functions, make sure that you're using the right number of arguments, that the arguments are in the right order, and that you haven't left out any necessary punctuation. To determine the correct syntax to use, see the Help topic for the function you're using.
- If you are referring to another control, make sure that you're using the correct syntax. For more information on referring to controls, click .
- Make sure that there isn't a circular reference to a control. For example, if you specify MyControl in the Name property of a control, and then type =[A]+[B]+[MyControl] in the ControlSource property box for the control, Microsoft Access can't process the expression.