MSQuery: "Invalid Bracketing" Error Adding Field to MS QueryLast reviewed: January 7, 1998Article ID: Q173043 |
The information in this article applies to:
SYMPTOMSIn Microsoft Query 97 for Windows, if you attempt to add a field to the data pane by double-clicking a field in the list of fields, you may receive the following error message:
Microsoft Query Invalid bracketing of name '<TableName>.<FieldName>'.When you click OK, all data and criteria may disappear from Microsoft Query.
CAUSEThis problem may occur when the field name in the list of fields includes a period. For example, double-clicking the following field names may cause the problem to occur:
Customers.CompanyName Shippers.CompanyName WORKAROUNDTo work around this problem, use the Query Wizard to add such fields to the data pane. To do this when you create a new query, follow these steps:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThis problem occurs because of a problem in how Microsoft Query 97 parses the SQL statement that is used to create a query. Normally, the reference to a table and field in an SQL statement resembles the following:
<TableName>.<FieldName> Invoices.Address Invoices.CityHowever, if the field name contains a period, the reference in the SQL statement resembles the following:
<TableName>.<FieldName>.<SecondPartOfFieldName> Invoices.Customers.CompanyName Invoices.Shippers.CompanyNameMicrosoft Query 97 can handle a field name that contains a period only if you add the field to the data pane by using the Query Wizard. Note that it is rare for a field name to contain a period. However, the Northwind database included with Microsoft Office 97 includes a table that contains two fields with names that include periods.
|
Additional query words: XL97 invoices access
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |