Microsoft KB Archive/151801

= ACC: Field Named "Application" Causes Error =

Article ID: 151801

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Access 2.0 Standard Edition
 * Microsoft Access 95 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q151801



Novice: Requires knowledge of the user interface on single-user computers.



SYMPTOMS
If you try to preview a report that contains a bound field whose ControlSource property is set to a field named Application, you may receive the following error message.

In Microsoft Access 7.0 and 97
Microsoft Access can't find the field 'Application' referred to in your expression.

In Microsoft Access 2.0
Invalid Reference to field 'Application'

NOTE: If you use the AutoReport tool in version 2.0, you first receive the following message:

  The Wizard can't display your report in Print Preview. It will be  opened in Design view.



RESOLUTION
Change the name of the field in your table to something other than "Application."



In Microsoft Access 7.0 and 97

 * 1) Create a new table and add a text field named Application. Close and save the table as tblTestField.
 * 2) Create a new report based on the tblTestField table, and select the AutoReport: Columnar Wizard.
 * 3) When you receive the first message, click OK. On the File menu, click Print Preview. Note that you receive the error message described in the "Symptoms" section.

In Microsoft Access 2.0

 * 1) Create a new table and add a text field named Application. Close and save the table as tblTestField.
 * 2) Create a new report based on the tblTestField table and click Report Wizards. Select AutoReport, and then click OK.
 * 3) When you receive the first message, click OK. On the File menu, click Print Preview. Note that you receive the error message described in the "Symptoms" section.

