ACC: Query Error "The Replication ID you entered is invalid"

Last reviewed: May 5, 1997
Article ID: Q160753
The information in this article applies to:
  • Microsoft Access versions 7.0, 97

SYMPTOMS

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

When you run a query in an unreplicated database, you may receive the following error message:

   The replication ID you entered is invalid.

CAUSE

You used braces ({}) instead of brackets ([]) around an object name in your query.

NOTE: This error message also occurs if you include braces ({}) instead of parentheses (()) around the arguments of a function or procedure.

RESOLUTION

Open the query in Design view and replace the braces with brackets.

MORE INFORMATION

Brackets are often placed around the name of a table, field, form, or parameter when you create a query in Design view. If you use braces instead of brackets, Microsoft Access tries to interpret the text between the braces as a globally unique identifier (GUID). Microsoft Access uses GUIDs in replicated databases. If the text inside braces is not a valid GUID, an error occurs.

Steps to Reproduce Behavior

  1. Open the sample database Northwind.mdb.

  2. Create a new query in Design view based on the Order Details table.

  3. Type {Order Details}.OrderID in the Field row of the query.

  4. Run the query. Note that you receive the error message.

REFERENCES

For more information about the use of brackets in an expression, search the Help Index for "[] (expressions)."

For more information about globally unique identifiers, search the Help Index for "GUIDs."


Keywords : kberrmsg QryParm QryProb
Version : 7.0 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.