Excel: Invalid Field Name Accessing External Excel DatabaseLast reviewed: November 4, 1994Article ID: Q79796 |
SUMMARYAccessing an external Microsoft Excel database using the QE.XLA add-in macro may result in the error "Invalid Field Name" if the field names in the database are not typed in all uppercase characters.
MORE INFORMATIONThe add-in macro QE.XLA provides easy access to external databases from an Excel worksheet; however, because Q+E is providing the access, the field names must be in dBASE format or the "Invalid Field Name" error will result. Either the field names must be in all uppercase, or the field names used in the criteria and extract ranges must have quotation marks, using the left apostrophe character.
WorkaroundThe following workaround assumes you have QE.XLA loaded. To get the external database to work properly, you must either enter the field names in all uppercase or enter the field names in your Criteria and Extract ranges using the Paste Fieldnames command from the Data menu. Note that lowercase and mixed-case names are entered with quotation marks, using the left apostrophe. For example, the following is entered when using the Paste Fieldnames command:
`Name` when using Paste Fieldnames. Steps to Reproduce the Problem
REFERENCES"Q+E for Microsoft Excel User's Guide," version 3.0, pages 57-66
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |